diff options
Diffstat (limited to 'html/069allocate.subx.html')
-rw-r--r-- | html/069allocate.subx.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/069allocate.subx.html b/html/069allocate.subx.html index d6ffe82c..fb2de9fd 100644 --- a/html/069allocate.subx.html +++ b/html/069allocate.subx.html @@ -117,7 +117,7 @@ if ('onhashchange' in window) { <span id="L56" class="LineNr"> 56 </span> <span id="L57" class="LineNr"> 57 </span><span class="subxComment"># Claim the next 'n' bytes of memory starting at ad->curr and update ad->curr.</span> <span id="L58" class="LineNr"> 58 </span><span class="subxComment"># Abort if there isn't enough memory in 'ad'.</span> -<span id="L59" class="LineNr"> 59 </span><span class="subxFunction">allocate</span>: <span class="subxComment"># ad : (addr allocation-descriptor), n : int -> address-or-null/eax : (addr _)</span> +<span id="L59" class="LineNr"> 59 </span><span class="subxFunction">allocate</span>: <span class="subxComment"># ad: (addr allocation-descriptor), n: int -> address-or-null/eax: (addr _)</span> <span id="L60" class="LineNr"> 60 </span> <span class="subxS1Comment"># . prologue</span> <span id="L61" class="LineNr"> 61 </span> 55/push-ebp <span id="L62" class="LineNr"> 62 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> @@ -165,11 +165,11 @@ if ('onhashchange' in window) { <span id="L104" class="LineNr">104 </span> <span class="subxS1Comment"># . prologue</span> <span id="L105" class="LineNr">105 </span> 55/push-ebp <span id="L106" class="LineNr">106 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> -<span id="L107" class="LineNr">107 </span> <span class="subxComment"># var ad/ecx : allocation-descriptor = {11, 15}</span> +<span id="L107" class="LineNr">107 </span> <span class="subxComment"># var ad/ecx: allocation-descriptor = {11, 15}</span> <span id="L108" class="LineNr">108 </span> 68/push 0xf/imm32/limit <span id="L109" class="LineNr">109 </span> 68/push 0xb/imm32/curr <span id="L110" class="LineNr">110 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> -<span id="L111" class="LineNr">111 </span> <span class="subxComment"># var eax : (handle byte) = allocate(ad, 3)</span> +<span id="L111" class="LineNr">111 </span> <span class="subxComment"># var eax: (handle byte) = allocate(ad, 3)</span> <span id="L112" class="LineNr">112 </span> <span class="subxS2Comment"># . . push args</span> <span id="L113" class="LineNr">113 </span> 68/push 3/imm32 <span id="L114" class="LineNr">114 </span> 51/push-ecx @@ -204,11 +204,11 @@ if ('onhashchange' in window) { <span id="L143" class="LineNr">143 </span> <span class="subxS1Comment"># . prologue</span> <span id="L144" class="LineNr">144 </span> 55/push-ebp <span id="L145" class="LineNr">145 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> -<span id="L146" class="LineNr">146 </span> <span class="subxComment"># var ad/ecx : allocation-descriptor = {11, 15}</span> +<span id="L146" class="LineNr">146 </span> <span class="subxComment"># var ad/ecx: allocation-descriptor = {11, 15}</span> <span id="L147" class="LineNr">147 </span> 68/push 0xf/imm32/limit <span id="L148" class="LineNr">148 </span> 68/push 0xb/imm32/curr <span id="L149" class="LineNr">149 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> -<span id="L150" class="LineNr">150 </span> <span class="subxComment"># var eax : (handle byte) = allocate(ad, 6)</span> +<span id="L150" class="LineNr">150 </span> <span class="subxComment"># var eax: (handle byte) = allocate(ad, 6)</span> <span id="L151" class="LineNr">151 </span> <span class="subxS2Comment"># . . push args</span> <span id="L152" class="LineNr">152 </span> 68/push 6/imm32 <span id="L153" class="LineNr">153 </span> 51/push-ecx @@ -241,7 +241,7 @@ if ('onhashchange' in window) { <span id="L180" class="LineNr">180 </span> c3/return <span id="L181" class="LineNr">181 </span> <span id="L182" class="LineNr">182 </span><span class="subxComment"># helper: create a nested allocation descriptor (useful for tests)</span> -<span id="L183" class="LineNr">183 </span><span class="subxFunction">allocate-region</span>: <span class="subxComment"># ad : (addr allocation-descriptor), n : int -> new-ad : (handle allocation-descriptor)</span> +<span id="L183" class="LineNr">183 </span><span class="subxFunction">allocate-region</span>: <span class="subxComment"># ad: (addr allocation-descriptor), n: int -> new-ad: (handle allocation-descriptor)</span> <span id="L184" class="LineNr">184 </span> <span class="subxS1Comment"># . prologue</span> <span id="L185" class="LineNr">185 </span> 55/push-ebp <span id="L186" class="LineNr">186 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> |