about summary refs log tree commit diff stats
path: root/html/043space.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-02-07 00:25:27 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-02-07 00:25:27 -0800
commit85553e522cfd8cf6ecb9f8c6819bff044197502b (patch)
treeeae7c3e9ac3cffed4b6c7967f721768f64c151f6 /html/043space.cc.html
parent598f1b5362eb799e40836ceeb5452c9ba937fd6c (diff)
downloadmu-85553e522cfd8cf6ecb9f8c6819bff044197502b.tar.gz
3747
Diffstat (limited to 'html/043space.cc.html')
-rw-r--r--html/043space.cc.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/html/043space.cc.html b/html/043space.cc.html
index 60bc5518..2cdff102 100644
--- a/html/043space.cc.html
+++ b/html/043space.cc.html
@@ -299,7 +299,7 @@ if ('onhashchange' in window) {
 <span id="L235" class="LineNr">235 </span>  <span class="Normal">const</span> recipe&amp; exiting_recipe = get<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> r<span class="Delimiter">);</span>
 <span id="L236" class="LineNr">236 </span>  <span class="Normal">if</span> <span class="Delimiter">(</span>exiting_recipe<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>empty<span class="Delimiter">())</span> <span class="Identifier">return</span><span class="Delimiter">;</span>
 <span id="L237" class="LineNr">237 </span>  <span class="Normal">const</span> instruction&amp; inst = exiting_recipe<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">);</span>
-<span id="L238" class="LineNr">238 </span>  <span class="Normal">if</span> <span class="Delimiter">(</span>inst<span class="Delimiter">.</span>old_name != <span class="Constant">&quot;local-scope&quot;</span><span class="Delimiter">)</span> <span class="Identifier">return</span><span class="Delimiter">;</span>
+<span id="L238" class="LineNr">238 </span>  <span class="Normal">if</span> <span class="Delimiter">(</span>inst<span class="Delimiter">.</span>name_before_rewrite != <span class="Constant">&quot;local-scope&quot;</span><span class="Delimiter">)</span> <span class="Identifier">return</span><span class="Delimiter">;</span>
 <span id="L239" class="LineNr">239 </span>  <span class="Comment">// reclaim any local variables unless they're being returned</span>
 <span id="L240" class="LineNr">240 </span>  vector&lt;<span class="Normal">double</span>&gt; zeros<span class="Delimiter">;</span>
 <span id="L241" class="LineNr">241 </span>  <span class="Normal">for</span> <span class="Delimiter">(</span><span class="Normal">int</span> i = <span class="Comment">/*</span><span class="Comment">leave default space for last</span><span class="Comment">*/</span><span class="Constant">1</span><span class="Delimiter">;</span>  i &lt; <a href='001help.cc.html#L138'>SIZE</a><span class="Delimiter">(</span>exiting_recipe<span class="Delimiter">.</span>steps<span class="Delimiter">);</span>  ++i<span class="Delimiter">)</span> <span class="Delimiter">{</span>
@@ -325,11 +325,11 @@ if ('onhashchange' in window) {
 <span id="L261" class="LineNr">261 </span><span class="Comment">//: Reclaiming local variables above requires remembering what name an</span>
 <span id="L262" class="LineNr">262 </span><span class="Comment">//: instruction had before any rewrites or transforms.</span>
 <span id="L263" class="LineNr">263 </span><span class="Delimiter">:(before &quot;End <a href='010vm.cc.html#L32'>instruction</a> Fields&quot;)</span>
-<span id="L264" class="LineNr">264 </span>string old_name<span class="Delimiter">;</span>
+<span id="L264" class="LineNr">264 </span>string name_before_rewrite<span class="Delimiter">;</span>
 <span id="L265" class="LineNr">265 </span><span class="Delimiter">:(before &quot;End <a href='010vm.cc.html#L32'>instruction</a> Clear&quot;)</span>
-<span id="L266" class="LineNr">266 </span>old_name<span class="Delimiter">.</span><a href='050scenario.cc.html#L60'>clear</a><span class="Delimiter">();</span>
+<span id="L266" class="LineNr">266 </span>name_before_rewrite<span class="Delimiter">.</span><a href='050scenario.cc.html#L60'>clear</a><span class="Delimiter">();</span>
 <span id="L267" class="LineNr">267 </span><span class="Delimiter">:(before &quot;End next_instruction(curr)&quot;)</span>
-<span id="L268" class="LineNr">268 </span>curr<span class="Delimiter">-&gt;</span>old_name = curr<span class="Delimiter">-&gt;</span>name<span class="Delimiter">;</span>  <span class="Comment">// before rewrite rules modify it</span>
+<span id="L268" class="LineNr">268 </span>curr<span class="Delimiter">-&gt;</span>name_before_rewrite = curr<span class="Delimiter">-&gt;</span>name<span class="Delimiter">;</span>
 <span id="L269" class="LineNr">269 </span>
 <span id="L270" class="LineNr">270 </span><span class="Delimiter">:(code)</span>
 <span id="L271" class="LineNr">271 </span><span class="Comment">// is this reagent one of the values returned by the current (return) instruction?</span>
@@ -362,7 +362,7 @@ if ('onhashchange' in window) {
 <span id="L298" class="LineNr">298 </span>  <span class="Normal">if</span> <span class="Delimiter">(</span>!contains_key<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> inst<span class="Delimiter">.</span>operation<span class="Delimiter">))</span> <span class="Identifier">return</span> <span class="Constant">true</span><span class="Delimiter">;</span>
 <span id="L299" class="LineNr">299 </span>  <span class="Normal">const</span> recipe&amp; callee = get<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> inst<span class="Delimiter">.</span>operation<span class="Delimiter">);</span>
 <span id="L300" class="LineNr">300 </span>  <span class="Normal">if</span> <span class="Delimiter">(</span>callee<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>empty<span class="Delimiter">())</span> <span class="Identifier">return</span> <span class="Constant">true</span><span class="Delimiter">;</span>
-<span id="L301" class="LineNr">301 </span>  <span class="Identifier">return</span> callee<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>old_name != <span class="Constant">&quot;local-scope&quot;</span><span class="Delimiter">;</span>  <span class="Comment">// callees that call local-scope are already dealt with before return</span>
+<span id="L301" class="LineNr">301 </span>  <span class="Identifier">return</span> callee<span class="Delimiter">.</span>steps<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name_before_rewrite != <span class="Constant">&quot;local-scope&quot;</span><span class="Delimiter">;</span>  <span class="Comment">// callees that call local-scope are already dealt with before return</span>
 <span id="L302" class="LineNr">302 </span><span class="Delimiter">}</span>
 <span id="L303" class="LineNr">303 </span>
 <span id="L304" class="LineNr">304 </span><span class="Normal">bool</span> <a href='043space.cc.html#L304'>caller_uses_product</a><span class="Delimiter">(</span><span class="Normal">int</span> product_index<span class="Delimiter">)</span> <span class="Delimiter">{</span>