diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-21 17:31:38 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-21 17:31:38 -0700 |
commit | 3b02c3dfa26745f2ea178600b840a34cec4d649b (patch) | |
tree | 259be41cecbd13bb9357323f8d3a7ec6db9a37d1 /apps | |
parent | 47fe226b7e5841d25b3392f40bb3698d405e39f2 (diff) | |
download | mu-3b02c3dfa26745f2ea178600b840a34cec4d649b.tar.gz |
6572
Small change to mu.subx to keep the treeshaker working with it. That's currently the only place where we prevent jumps across 'functions'.
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/mu | bin | 323388 -> 323454 bytes | |||
-rw-r--r-- | apps/mu.subx | 42 |
2 files changed, 36 insertions, 6 deletions
diff --git a/apps/mu b/apps/mu index 48425fe1..c31e1b68 100755 --- a/apps/mu +++ b/apps/mu Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx index e2628d99..fd5bb573 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -7991,12 +7991,42 @@ Mu-registers: # (addr stream {(handle array byte), int}) 0x48/imm32/length # data # it is perfectly ok to use fake alloc-ids -- as long as you never try to reclaim them - 0x11/imm32/alloc-id $Register-eax/imm32 0/imm32 - 0x11/imm32/alloc-id $Register-ecx/imm32 1/imm32 - 0x11/imm32/alloc-id $Register-edx/imm32 2/imm32 - 0x11/imm32/alloc-id $Register-ebx/imm32 3/imm32 - 0x11/imm32/alloc-id $Register-esi/imm32 6/imm32 - 0x11/imm32/alloc-id $Register-edi/imm32 7/imm32 + 0x11/imm32/alloc-id $Mu-register-eax/imm32 0/imm32 + 0x11/imm32/alloc-id $Mu-register-ecx/imm32 1/imm32 + 0x11/imm32/alloc-id $Mu-register-edx/imm32 2/imm32 + 0x11/imm32/alloc-id $Mu-register-ebx/imm32 3/imm32 + 0x11/imm32/alloc-id $Mu-register-esi/imm32 6/imm32 + 0x11/imm32/alloc-id $Mu-register-edi/imm32 7/imm32 + +$Mu-register-eax: + 0x11/imm32/alloc-id + 3/imm32/size + 0x65/e 0x61/a 0x78/x + +$Mu-register-ecx: + 0x11/imm32/alloc-id + 3/imm32/size + 0x65/e 0x63/c 0x78/x + +$Mu-register-edx: + 0x11/imm32/alloc-id + 3/imm32/size + 0x65/e 0x64/d 0x78/x + +$Mu-register-ebx: + 0x11/imm32/alloc-id + 3/imm32/size + 0x65/e 0x62/b 0x78/x + +$Mu-register-esi: + 0x11/imm32/alloc-id + 3/imm32/size + 0x65/e 0x73/s 0x69/i + +$Mu-register-edi: + 0x11/imm32/alloc-id + 3/imm32/size + 0x65/e 0x64/d 0x69/i == code |