about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-03 19:31:44 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:48 -0700
commit298a38a3c748f5b61ed5a3afaab32bb93cba2baa (patch)
tree08b81d75e47e87697d4f6c0b3674b71003cb34ff
parent47d03b6d0c4605323f046ce5e1d5939007c9472e (diff)
downloadmu-298a38a3c748f5b61ed5a3afaab32bb93cba2baa.tar.gz
-
Pass everything so far through translate_subx_debug, which has more error-checking.
-rw-r--r--apps/mu.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index 953fb07b..fdfab0e7 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -6155,7 +6155,7 @@ find-or-create-typeinfo:  # t: type-id, out: (addr handle typeinfo)
     {
       # if (*out != 0) break
       81 7/subop/compare *edi 0/imm32
-      75/jump-if-!= break/disp8
+      0f 85/jump-if-!= break/disp32
 $find-or-create-typeinfo:create:
       # *out = allocate
       (allocate Heap *Typeinfo-size %edi)
@@ -6261,7 +6261,7 @@ find-or-create-typeinfo-output-var:  # T: (addr typeinfo), f: (addr slice), out:
     # if output var doesn't exist, create it
     {
       81 7/subop/compare *(edi+8) 0/imm32  # Typeinfo-entry-output-var
-      75/jump-if-!= break/disp8
+      0f 85/jump-if-!= break/disp32
       # out/edx = new var(dummy name, type, -1 offset)
       # . var name/eax: (handle array byte) = "field"
       68/push 0/imm32