diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-29 21:23:56 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-29 21:23:56 -0700 |
commit | 8bafc90dfda6cd170343ad1d7351d418f38189ae (patch) | |
tree | 97c8fe5b5ebe9b7b40ca063dba4e3c9d6231e924 /html/089scenario_filesystem.cc.html | |
parent | ef69c56c82e85e83014605f501110697d81bcdc1 (diff) | |
download | mu-8bafc90dfda6cd170343ad1d7351d418f38189ae.tar.gz |
3609
Diffstat (limited to 'html/089scenario_filesystem.cc.html')
-rw-r--r-- | html/089scenario_filesystem.cc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/089scenario_filesystem.cc.html b/html/089scenario_filesystem.cc.html index d1fb007d..608f9c25 100644 --- a/html/089scenario_filesystem.cc.html +++ b/html/089scenario_filesystem.cc.html @@ -258,7 +258,7 @@ string munge_resources_contents<span class="Delimiter">(</span><span class="Norm trace<span class="Delimiter">(</span><span class="Constant">9999</span><span class="Delimiter">,</span> <span class="Constant">"mem"</span><span class="Delimiter">)</span> << <span class="Constant">"storing refcount 1 in location "</span> << resources_data_address << end<span class="Delimiter">();</span> <span class="Comment">// wrap the resources data in a 'resources' object</span> <span class="Normal">int</span> resources_address = allocate<span class="Delimiter">(</span>size_of_resources<span class="Delimiter">());</span> - curr = resources_address+<span class="Comment">/*</span><span class="Comment">skip refcount</span><span class="Comment">*/</span><span class="Constant">1</span><span class="Delimiter">;</span> + curr = resources_address+<span class="Comment">/*</span><span class="Comment">skip refcount</span><span class="Comment">*/</span><span class="Constant">1</span>+<span class="Comment">/*</span><span class="Comment">offset of 'data' element</span><span class="Comment">*/</span><span class="Constant">1</span><span class="Delimiter">;</span> put<span class="Delimiter">(</span>Memory<span class="Delimiter">,</span> curr<span class="Delimiter">,</span> resources_data_address<span class="Delimiter">);</span> trace<span class="Delimiter">(</span><span class="Constant">9999</span><span class="Delimiter">,</span> <span class="Constant">"mem"</span><span class="Delimiter">)</span> << <span class="Constant">"storing resources data address "</span> << resources_data_address << <span class="Constant">" in location "</span> << curr << end<span class="Delimiter">();</span> put<span class="Delimiter">(</span>Memory<span class="Delimiter">,</span> resources_address<span class="Delimiter">,</span> <span class="Constant">1</span><span class="Delimiter">);</span> <span class="Comment">// initialize refcount</span> |