diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-28 08:25:37 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-28 08:25:37 -0700 |
commit | e98a6babb573b6fbb83c504206a5c2f7f7e2886c (patch) | |
tree | f4954a18934c6d4f61c076f2dc0190a2e49611f4 | |
parent | f58a6acc3f744de683037f81be857ec59162e01c (diff) | |
download | mu-e98a6babb573b6fbb83c504206a5c2f7f7e2886c.tar.gz |
6580
-rw-r--r-- | apps/mu.subx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index b5ce6562..571c9faf 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -10071,7 +10071,7 @@ check-mu-get-stmt: # stmt: (addr stmt), fn: (addr function), err: (addr buffere (container-type %ebx) # => eax (is-container? %eax) # => eax 3d/compare-eax-and 0/imm32/false - 0f 84/jump-if-= $check-mu-get-stmt:error1/disp32 + 0f 84/jump-if-= $check-mu-get-stmt:error-bad-base/disp32 # TODO: check >1 inouts # var offset/ecx: (addr var) = stmt->inouts->next->value (lookup *(esi+0xc) *(esi+0x10)) # Stmt1-inouts Stmt1-inouts => eax @@ -10079,7 +10079,7 @@ check-mu-get-stmt: # stmt: (addr stmt), fn: (addr function), err: (addr buffere (lookup *eax *(eax+4)) # Stmt-var-value Stmt-var-value => eax 89/<- %ecx 0/r32/eax 81 7/subop/compare *(ecx+0x14) -1/imm32/uninitialized # Var-offset - 0f 84/jump-if-= $check-mu-get-stmt:error2/disp32 + 0f 84/jump-if-= $check-mu-get-stmt:error-bad-field/disp32 # TODO: check >0 outputs # var output/edi: (addr var) = stmt->outputs->value (lookup *(esi+0x14) *(esi+0x18)) # Stmt1-outputs Stmt1-outputs => eax @@ -10098,7 +10098,7 @@ $check-mu-get-stmt:end: 5d/pop-to-ebp c3/return -$check-mu-get-stmt:error1: +$check-mu-get-stmt:error-bad-base: # error("fn " fn ": stmt get: var '" base->name "' must have a 'type' definition\n") (write-buffered *(ebp+0x10) "fn ") 8b/-> *(ebp+0xc) 0/r32/eax @@ -10113,7 +10113,7 @@ $check-mu-get-stmt:error1: (stop *(ebp+0x14) 1) # never gets here -$check-mu-get-stmt:error2: +$check-mu-get-stmt:error-bad-field: # error("fn " fn ": stmt get: type " type " has no member called '" curr->name "'\n") (write-buffered *(ebp+0x10) "fn ") 8b/-> *(ebp+0xc) 0/r32/eax |