I think we're calling the wrong variant here.
This commit is contained in:
Kartik Agaram 2019-07-10 11:38:24 -07:00
parent 304bce5895
commit c5f7d9dd57
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -465,13 +465,13 @@ $compute-offsets:label:
# . if (EAX == 0) goto next check
3d/compare-EAX-and 0/imm32
74/jump-if-equal $compute-offsets:segment/disp8
# x/EAX = get-or-insert(labels, word-slice)
# x/EAX = get-or-insert-slice(labels, word-slice)
# . . push args
68/push 0x10/imm32/row-size
52/push-EDX
ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0x10/disp8 . # push *(EBP+16)
# . . call
e8/call get-or-insert/disp32
e8/call get-or-insert-slice/disp32
# . . discard args
81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP
# TODO: *x = segment-offset