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'.
This commit is contained in:
parent
47fe226b7e
commit
3b02c3dfa2
42
apps/mu.subx
42
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
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,7 +12,7 @@ apps/tests.subx 284 137
|
|||
apps/sigils.subx 4641 896
|
||||
apps/calls.subx 1785 448
|
||||
apps/braces.subx 360 121
|
||||
apps/mu.subx (incomplete) 17940 5780
|
||||
apps/mu.subx (incomplete) 18722 6044
|
||||
|
||||
## Total source lines needed including libraries
|
||||
Initial -whitespace/comments/tests/dead code
|
||||
|
@ -28,7 +28,7 @@ apps/tests.subx 8519 2214
|
|||
apps/sigils.subx 10578 3043
|
||||
apps/calls.subx 9242 2388
|
||||
apps/braces.subx 8545 2111
|
||||
apps/mu.subx (incomplete) 21949 8357
|
||||
apps/mu.subx (incomplete) 22481 8537
|
||||
|
||||
## executable size in KB
|
||||
Initial -tests/dead code
|
||||
|
@ -44,7 +44,7 @@ apps/tests 41 5.8
|
|||
apps/sigils 54 9.1
|
||||
apps/calls 47 7.1
|
||||
apps/braces 42 5.9
|
||||
apps/mu (incomplete) 303 47.0
|
||||
apps/mu (incomplete) 316 49.0
|
||||
|
||||
## history of apps/mu.subx
|
||||
date commit mu.subx -tests/cmts binary (KB excl. dead code)
|
||||
|
@ -65,6 +65,6 @@ user-defined types, and getting fields in them Mar 11 6135 11592
|
|||
|
||||
cleanup: switch to handles everywhere May 22 6382 15014 5064 39
|
||||
|
||||
checking: function call types and registers Jun 18 6552 17940 5780 47
|
||||
first round of prototyping and static checks Jun 21 6572 18722 6044 49
|
||||
|
||||
vim:nowrap:tw&
|
||||
|
|
Loading…
Reference in New Issue