about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--120allocate.subx14
-rwxr-xr-xapps/assortbin46769 -> 46811 bytes
-rwxr-xr-xapps/bracesbin48824 -> 48866 bytes
-rwxr-xr-xapps/callsbin53819 -> 53861 bytes
-rwxr-xr-xapps/crenshaw2-1bin46110 -> 46152 bytes
-rwxr-xr-xapps/crenshaw2-1bbin46657 -> 46699 bytes
-rwxr-xr-xapps/dquotesbin50391 -> 50433 bytes
-rwxr-xr-xapps/factorialbin45220 -> 45262 bytes
-rwxr-xr-xapps/hexbin48949 -> 48991 bytes
-rwxr-xr-xapps/mubin601752 -> 601794 bytes
-rwxr-xr-xapps/packbin59459 -> 59501 bytes
-rwxr-xr-xapps/randombin45032 -> 45074 bytes
-rwxr-xr-xapps/sigilsbin61193 -> 61235 bytes
-rwxr-xr-xapps/survey_baremetalbin51155 -> 51197 bytes
-rwxr-xr-xapps/survey_elfbin56440 -> 56482 bytes
-rwxr-xr-xapps/testsbin45560 -> 45602 bytes
16 files changed, 14 insertions, 0 deletions
diff --git a/120allocate.subx b/120allocate.subx
index ac6f87c5..11de944b 100644
--- a/120allocate.subx
+++ b/120allocate.subx
@@ -248,6 +248,8 @@ test-allocate-raw-success:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
     # clean up
     c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32            .             .           .           Next-alloc-id/disp32  0x100/imm32 # copy to *Next-alloc-id
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0x10/imm32        # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
@@ -346,6 +348,8 @@ test-lookup-success:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
     # clean up
     c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32            .             .           .           Next-alloc-id/disp32  0x100/imm32 # copy to *Next-alloc-id
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0x10/imm32        # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
@@ -376,6 +380,8 @@ test-lookup-null-returns-null:
     e8/call  check-ints-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
@@ -449,6 +455,8 @@ _pending-test-lookup-failure:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
     # clean up
     c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32            .             .           .           Next-alloc-id/disp32  0x100/imm32 # copy to *Next-alloc-id
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
@@ -702,6 +710,8 @@ test-allocate-array:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
     # clean up
     c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32            .             .           .           Next-alloc-id/disp32  1/imm32     # copy to *Next-alloc-id
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0x10/imm32        # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
@@ -868,6 +878,8 @@ test-copy-array:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
     # clean up
     c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32            .             .           .           Next-alloc-id/disp32  1/imm32     # copy to *Next-alloc-id
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0x20/imm32        # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
@@ -945,6 +957,8 @@ test-zero-out:
     e8/call  check-ints-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
+    # . reclaim locals
+    81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
diff --git a/apps/assort b/apps/assort
index edf90788..8067c0ec 100755
--- a/apps/assort
+++ b/apps/assort
Binary files differdiff --git a/apps/braces b/apps/braces
index 610431a5..beee3847 100755
--- a/apps/braces
+++ b/apps/braces
Binary files differdiff --git a/apps/calls b/apps/calls
index 19dfedb4..4fd1815a 100755
--- a/apps/calls
+++ b/apps/calls
Binary files differdiff --git a/apps/crenshaw2-1 b/apps/crenshaw2-1
index d0ac4e5e..6c2ecf12 100755
--- a/apps/crenshaw2-1
+++ b/apps/crenshaw2-1
Binary files differdiff --git a/apps/crenshaw2-1b b/apps/crenshaw2-1b
index c285a509..27fbe7f8 100755
--- a/apps/crenshaw2-1b
+++ b/apps/crenshaw2-1b
Binary files differdiff --git a/apps/dquotes b/apps/dquotes
index d4bef5ad..8b6083a8 100755
--- a/apps/dquotes
+++ b/apps/dquotes
Binary files differdiff --git a/apps/factorial b/apps/factorial
index 305695b6..ed8dda11 100755
--- a/apps/factorial
+++ b/apps/factorial
Binary files differdiff --git a/apps/hex b/apps/hex
index c8f3d5aa..af23e593 100755
--- a/apps/hex
+++ b/apps/hex
Binary files differdiff --git a/apps/mu b/apps/mu
index 033e3245..17240f9a 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --git a/apps/pack b/apps/pack
index 0665c0b9..9ca65896 100755
--- a/apps/pack
+++ b/apps/pack
Binary files differdiff --git a/apps/random b/apps/random
index 65b5d23c..033c78b6 100755
--- a/apps/random
+++ b/apps/random
Binary files differdiff --git a/apps/sigils b/apps/sigils
index b14ff723..f81a5d58 100755
--- a/apps/sigils
+++ b/apps/sigils
Binary files differdiff --git a/apps/survey_baremetal b/apps/survey_baremetal
index 6d1af44d..6c254711 100755
--- a/apps/survey_baremetal
+++ b/apps/survey_baremetal
Binary files differdiff --git a/apps/survey_elf b/apps/survey_elf
index e903f3ee..2b964f6e 100755
--- a/apps/survey_elf
+++ b/apps/survey_elf
Binary files differdiff --git a/apps/tests b/apps/tests
index b673925e..3fd56b9b 100755
--- a/apps/tests
+++ b/apps/tests
Binary files differ