diff options
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/assort | bin | 40886 -> 40844 bytes | |||
-rw-r--r-- | apps/assort.subx | 9 | ||||
-rwxr-xr-x | apps/braces | bin | 42692 -> 42645 bytes | |||
-rwxr-xr-x | apps/calls | bin | 47353 -> 47306 bytes | |||
-rwxr-xr-x | apps/crenshaw2-1 | bin | 40294 -> 40247 bytes | |||
-rwxr-xr-x | apps/crenshaw2-1b | bin | 40841 -> 40794 bytes | |||
-rwxr-xr-x | apps/dquotes | bin | 44536 -> 44489 bytes | |||
-rwxr-xr-x | apps/factorial | bin | 39313 -> 39266 bytes | |||
-rwxr-xr-x | apps/handle | bin | 40211 -> 40164 bytes | |||
-rwxr-xr-x | apps/hex | bin | 43133 -> 43086 bytes | |||
-rwxr-xr-x | apps/mu | bin | 210818 -> 210776 bytes | |||
-rw-r--r-- | apps/mu.subx | 2 | ||||
-rwxr-xr-x | apps/pack | bin | 53278 -> 53231 bytes | |||
-rwxr-xr-x | apps/sigils | bin | 55077 -> 55030 bytes | |||
-rwxr-xr-x | apps/survey | bin | 49892 -> 49850 bytes | |||
-rw-r--r-- | apps/survey.subx | 7 | ||||
-rwxr-xr-x | apps/tests | bin | 39684 -> 39637 bytes |
17 files changed, 10 insertions, 8 deletions
diff --git a/apps/assort b/apps/assort index 0dacda05..9f6aa9a6 100755 --- a/apps/assort +++ b/apps/assort Binary files differdiff --git a/apps/assort.subx b/apps/assort.subx index 1969407b..3697f6e7 100644 --- a/apps/assort.subx +++ b/apps/assort.subx @@ -468,7 +468,7 @@ read-segments: # in: (addr buffered-file), table: (addr stream {string_key, (ha # continue # if slice-equal?(word-slice, "==") # var segment-name = next-word-or-string(line) - # segment-slot = leaky-get-or-insert-slice(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 @@ -717,15 +717,16 @@ $read-segments:check-for-segment-header: #? # . . discard args #? 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp #? # }}} - # var segment-slot/eax: (addr handle stream byte) = leaky-get-or-insert-slice(table, segment-name, row-size=8) + # var segment-slot/eax: (addr handle stream byte) = get-or-insert-slice(table, segment-name, row-size=8) # . . push args + 68/push Heap/imm32 68/push 8/imm32/row-size 52/push-edx ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0xc/disp8 . # push *(ebp+12) # . . call - e8/call leaky-get-or-insert-slice/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 + 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0x10/imm32 # add to esp # var curr-segment/ebx: (handle stream byte) = *segment-slot 8b/copy 0/mod/indirect 0/rm32/eax . . . 3/r32/ebx . . # copy *eax to ebx # if (curr-segment != 0) continue diff --git a/apps/braces b/apps/braces index 318f8309..34f18f11 100755 --- a/apps/braces +++ b/apps/braces Binary files differdiff --git a/apps/calls b/apps/calls index 1ffc0b94..dbe0e219 100755 --- a/apps/calls +++ b/apps/calls Binary files differdiff --git a/apps/crenshaw2-1 b/apps/crenshaw2-1 index fe3bdfc1..599fcfc0 100755 --- a/apps/crenshaw2-1 +++ b/apps/crenshaw2-1 Binary files differdiff --git a/apps/crenshaw2-1b b/apps/crenshaw2-1b index 30266c2a..838c0c58 100755 --- a/apps/crenshaw2-1b +++ b/apps/crenshaw2-1b Binary files differdiff --git a/apps/dquotes b/apps/dquotes index 5a3d8aa0..12f43de6 100755 --- a/apps/dquotes +++ b/apps/dquotes Binary files differdiff --git a/apps/factorial b/apps/factorial index 73a3417f..3f09218b 100755 --- a/apps/factorial +++ b/apps/factorial Binary files differdiff --git a/apps/handle b/apps/handle index 77834947..b149425c 100755 --- a/apps/handle +++ b/apps/handle Binary files differdiff --git a/apps/hex b/apps/hex index 2f14cc9a..a9664006 100755 --- a/apps/hex +++ b/apps/hex Binary files differdiff --git a/apps/mu b/apps/mu index 0e21e322..adcf5d8a 100755 --- a/apps/mu +++ b/apps/mu Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx index 5ab9e8af..9965447a 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -6080,7 +6080,7 @@ find-or-create-typeinfo-fields: # T: (handle typeinfo), f: (addr slice) -> resu 8b/-> *(ebp+8) 6/r32/esi 8b/-> *(esi+4) 6/r32/esi # Typeinfo-fields # esi = get-or-insert(T->fields, f) - (leaky-get-or-insert-slice %esi *(ebp+0xc) *Typeinfo-fields-row-size) # => eax + (get-or-insert-slice %esi *(ebp+0xc) *Typeinfo-fields-row-size Heap) # => eax 89/<- %esi 0/r32/eax # if typeinfo-entry doesn't exist, allocate it { diff --git a/apps/pack b/apps/pack index f788a54a..cc967d24 100755 --- a/apps/pack +++ b/apps/pack Binary files differdiff --git a/apps/sigils b/apps/sigils index 7035952d..9f288109 100755 --- a/apps/sigils +++ b/apps/sigils Binary files differdiff --git a/apps/survey b/apps/survey index 3dbab3a0..98f75e9e 100755 --- a/apps/survey +++ b/apps/survey Binary files differdiff --git a/apps/survey.subx b/apps/survey.subx index a6e12abb..e3184815 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -1027,15 +1027,16 @@ $compute-offsets:case-label: 74/jump-if-= $compute-offsets:case-default/disp8 # strip trailing ':' from word-slice ff 1/subop/decrement 1/mod/*+disp8 2/rm32/edx . . . . 4/disp8 . # decrement *(edx+4) - # x/eax = leaky-get-or-insert-slice(labels, word-slice, row-size=16) + # x/eax = get-or-insert-slice(labels, word-slice, row-size=16) # . . push args + 68/push Heap/imm32 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 leaky-get-or-insert-slice/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 + 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0x10/imm32 # add to esp $compute-offsets:save-label-offset: # x->segment-name = curr-segment-name 89/copy 0/mod/indirect 0/rm32/eax . . . 6/r32/esi . . # copy esi to *eax diff --git a/apps/tests b/apps/tests index 08005a42..68c0753e 100755 --- a/apps/tests +++ b/apps/tests Binary files differ |