about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xapps/mubin396171 -> 396315 bytes
-rw-r--r--apps/mu.subx29
2 files changed, 29 insertions, 0 deletions
diff --git a/apps/mu b/apps/mu
index 3578f813..9b66a156 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx
index 683df3be..4d842f32 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -8245,6 +8245,8 @@ test-function-header-with-arg:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "foo n: int {\n")
     # var result/ecx: function
@@ -8283,6 +8285,8 @@ test-function-header-with-multiple-args:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "foo a: int, b: int c: int {\n")
     # result/ecx: function
@@ -8354,6 +8358,8 @@ test-function-header-with-multiple-args-and-outputs:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "foo a: int, b: int, c: int -> x/ecx: int y/edx: int {\n")
     # result/ecx: function
@@ -9018,6 +9024,9 @@ test-parse-var-with-type:
     # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
+    # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     # (eax..ecx) = "x:"
     b8/copy-to-eax "x:"/imm32
     8b/-> *eax 1/r32/ecx
@@ -9056,6 +9065,9 @@ test-parse-var-with-type-and-register:
     # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
+    # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     # (eax..ecx) = "x/eax:"
     b8/copy-to-eax "x/eax:"/imm32
     8b/-> *eax 1/r32/ecx
@@ -9097,6 +9109,9 @@ test-parse-var-with-trailing-characters:
     # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
+    # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     # (eax..ecx) = "x:"
     b8/copy-to-eax "x:"/imm32
     8b/-> *eax 1/r32/ecx
@@ -9137,6 +9152,9 @@ test-parse-var-with-register-and-trailing-characters:
     # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
+    # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     # (eax..ecx) = "x/eax:"
     b8/copy-to-eax "x/eax:"/imm32
     8b/-> *eax 1/r32/ecx
@@ -9178,6 +9196,9 @@ test-parse-var-with-compound-type:
     # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
+    # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     # (eax..ecx) = "x:"
     b8/copy-to-eax "x:"/imm32
     8b/-> *eax 1/r32/ecx
@@ -10050,6 +10071,8 @@ test-parse-mu-var-def:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "n: int\n")  # caller has consumed the 'var'
     c7 0/subop/copy *Curr-block-depth 1/imm32
@@ -10096,6 +10119,8 @@ test-parse-mu-reg-var-def:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "n/eax: int <- copy 0\n")  # caller has consumed the 'var'
     c7 0/subop/copy *Curr-block-depth 1/imm32
@@ -11021,6 +11046,8 @@ test-parse-mu-stmt:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "increment n\n")
     # var vars/ecx: (stack (addr var) 16)
@@ -11077,6 +11104,8 @@ test-parse-mu-stmt-with-comma:
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
+    8b/-> *Primitive-type-ids 0/r32/eax
+    89/<- *Type-id 0/r32/eax  # stream-write
     (clear-stream _test-input-stream)
     (write _test-input-stream "copy-to n, 3\n")
     # var vars/ecx: (stack (addr var) 16)