about summary refs log tree commit diff stats
path: root/apps/mu.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-08 16:02:32 -0700
committerKartik Agaram <vc@akkartik.com>2020-03-08 16:02:32 -0700
commitb12e8c593f94b761f09a65ff2d3abbcf8f2dbd8f (patch)
tree86ba5a6e1cb1ddfe842964bd866ab36f05c302b1 /apps/mu.subx
parentb2b5fd65782247cf2879692f11ef498008593b92 (diff)
downloadmu-b12e8c593f94b761f09a65ff2d3abbcf8f2dbd8f.tar.gz
6103
Diffstat (limited to 'apps/mu.subx')
-rw-r--r--apps/mu.subx4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index 9471c6fb..3cf9c23f 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -5659,7 +5659,7 @@ $populate-mu-type:line-loop:
 #?       # }}}
       (next-mu-token %ecx %edx)
       # if slice-empty?(word-slice) continue
-      (slice-empty? %edx)
+      (slice-empty? %edx)  # => eax
       3d/compare-eax-and 0/imm32
       0f 85/jump-if-!= loop/disp32
       # if slice-equal?(word-slice, "}") break
@@ -5693,10 +5693,8 @@ $populate-mu-type:set-output-offset:
       8b/-> *(eax+8) 0/r32/eax  # Typeinfo-entry-output-var
       89/<- *(eax+0xc) 3/r32/ebx  # Var-offset
       # curr-offset += size-of(v)
-      50/push-eax
       (size-of %esi)  # => eax
       01/add-to %ebx 0/r32/eax
-      58/pop-to-eax
       #
       e9/jump loop/disp32
     }