diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-06-30 00:02:02 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-01 23:09:58 -0700 |
commit | 954133e200df32415bbfd435ebe6d01a0c3c0c03 (patch) | |
tree | d2a1c014feb383ac0f4a4ddcd10ddcfb3b37bb7d /subx/apps | |
parent | eada7e30a048caffdbcd2bc992efee511ffd5e09 (diff) | |
download | mu-954133e200df32415bbfd435ebe6d01a0c3c0c03.tar.gz |
.
Diffstat (limited to 'subx/apps')
-rw-r--r-- | subx/apps/subx-common.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/apps/subx-common.subx b/subx/apps/subx-common.subx index ca0fa943..e37319dc 100644 --- a/subx/apps/subx-common.subx +++ b/subx/apps/subx-common.subx @@ -46,7 +46,7 @@ $get-or-insert:search-loop: # if (curr >= max) break 39/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare ECX with EDX 7d/jump-if-greater-or-equal $get-or-insert:not-found/disp8 - # if (string-equal?(key, *curr)) return *(curr+4) + # if (string-equal?(key, *curr)) return curr+4 # . EAX = string-equal?(key, *curr) # . . push args ff 6/subop/push 0/mod/indirect 1/rm32/ECX . . . . . . # push *ECX @@ -291,7 +291,7 @@ $get-or-insert-slice:search-loop: # if (curr >= max) break 39/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare ECX with EDX 7d/jump-if-greater-or-equal $get-or-insert-slice:not-found/disp8 - # if (slice-equal?(key, *curr)) return *(curr+4) + # if (slice-equal?(key, *curr)) return curr+4 # . EAX = slice-equal?(key, *curr) # . . push args ff 6/subop/push 0/mod/indirect 1/rm32/ECX . . . . . . # push *ECX |