about summary refs log tree commit diff stats
path: root/subx/apps/assort.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-06-28 17:31:33 -0700
committerKartik Agaram <vc@akkartik.com>2019-06-28 17:31:33 -0700
commit397f7c4687a85e999efe07e803b16f900d411442 (patch)
treeface56cfc122da5710f848f76aeb9c99533d5c9f /subx/apps/assort.subx
parent33ba3de93d0b474756cded10b50eb1641f02b394 (diff)
downloadmu-397f7c4687a85e999efe07e803b16f900d411442.tar.gz
.
Diffstat (limited to 'subx/apps/assort.subx')
-rw-r--r--subx/apps/assort.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/apps/assort.subx b/subx/apps/assort.subx
index ab58fa3e..2f9ca98e 100644
--- a/subx/apps/assort.subx
+++ b/subx/apps/assort.subx
@@ -448,7 +448,7 @@ read-segments:  # in : (address buffered-file), table : (address stream {string,
     #       continue
     #     if slice-equal?(word-slice, "==")
     #       var segment-name = next-word(line)
-    #       segment-slot = get-or-insert(table, segment-name, row-size=8)
+    #       segment-slot = get-or-insert-slice(table, segment-name, row-size=8)
     #       curr-segment = *segment-slot
     #       if curr-segment != 0
     #         continue
@@ -667,13 +667,13 @@ $read-segments:check-for-segment-header:
 #?     # . . discard args
 #?     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 #?     # }}}
-    # segment-slot/EAX = get-or-insert(table, segment-name, value-size=8)
+    # segment-slot/EAX = get-or-insert-slice(table, segment-name, value-size=8)
     # . . push args
     68/push  8/imm32/value-size
     52/push-EDX
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     # . . 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
     # curr-segment = *segment-slot