about summary refs log tree commit diff stats
path: root/apps/mu.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-04-23 20:38:28 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:47 -0700
commitaa35d7a032fb46a811ae13a8b9ac6b8bcb0578ee (patch)
tree1bfdedc0d0c30e27e76a7888536574dd9f9715c6 /apps/mu.subx
parenta8fdc6b6973862ad2046f863eee6f0e7cd240b4c (diff)
downloadmu-aa35d7a032fb46a811ae13a8b9ac6b8bcb0578ee.tar.gz
mu.subx: add-operation-and-inputs-to-stmt
Diffstat (limited to 'apps/mu.subx')
-rw-r--r--apps/mu.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index 554505ac..08c3b067 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -5260,8 +5260,8 @@ add-operation-and-inputs-to-stmt:  # stmt: (handle stmt), line: (addr stream byt
     ba/copy-to-edx 0/imm32/false
 $add-operation-and-inputs-to-stmt:read-operation:
     (next-mu-token *(ebp+0xc) %ecx)
-    (slice-to-string Heap %ecx)  # => eax
-    89/<- *(edi+4) 0/r32/eax  # Stmt1-operation or Regvardef-operation
+    8d/copy-address *(edi+4) 0/r32/eax  # Stmt1-operation or Regvardef-operationStmt1-operation or Regvardef-operation
+    (slice-to-string Heap %ecx %eax)
     # var is-get?/ebx: boolean = (name == "get")
     (slice-equal? %ecx "get")  # => eax
     89/<- %ebx 0/r32/eax