about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apps/mu.subx9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index 1b0b09a6..afe7d628 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -3737,13 +3737,8 @@ $parse-var-with-type:write-register:
       (slice-to-string Heap %ecx %eax)
     }
 $parse-var-with-type:save-type:
-    # TODO: handle from here
-    (parse-type Heap *(ebp+0xc))  # => eax
-#?     (write-buffered Stderr "saving to var ")
-#?     (print-int32-buffered Stderr %edi)
-#?     (write-buffered Stderr Newline)
-#?     (flush Stderr)
-    89/<- *(edi+8) 0/r32/eax  # Var-type
+    8d/copy-address *(edi+8) 0/r32/eax  # Var-type
+    (parse-type Heap *(ebp+0xc) %eax)
 $parse-var-with-type:end:
     # . reclaim locals
     81 0/subop/add %esp 8/imm32