mirror of https://git.sr.ht/~rabbits/uxnlin
Catch split tails
This commit is contained in:
parent
34acf54301
commit
0a9e41420a
|
@ -369,6 +369,7 @@ JMP2r
|
||||||
@eagerstack "Eager-stack $1 ( arithmetic performed before stashing )
|
@eagerstack "Eager-stack $1 ( arithmetic performed before stashing )
|
||||||
@tokenlen "Token-length $1 ( token is longer than 24 characters )
|
@tokenlen "Token-length $1 ( token is longer than 24 characters )
|
||||||
@combine "Combine $1 ( sequences of two literal bytes )
|
@combine "Combine $1 ( sequences of two literal bytes )
|
||||||
|
@tailcall "Split-Tail $1 ( potential tail-call optimisation )
|
||||||
|
|
||||||
@inc "INC $1 @inc2 "INC2 $1
|
@inc "INC $1 @inc2 "INC2 $1
|
||||||
@inc-twice "INC 20 "INC $1
|
@inc-twice "INC 20 "INC $1
|
||||||
|
@ -654,5 +655,9 @@ JMP2r
|
||||||
"STH2 $1 "SWP2 $1 "STH2r $1 =rot2swp2
|
"STH2 $1 "SWP2 $1 "STH2r $1 =rot2swp2
|
||||||
"#80 $1 "SFT2 $1 "POP $1 =nip
|
"#80 $1 "SFT2 $1 "POP $1 =nip
|
||||||
"#08 $1 "SFT2 $1 "NIP $1 =pop
|
"#08 $1 "SFT2 $1 "NIP $1 =pop
|
||||||
|
"JSR2 $1 "POP2 $1 "JMP2r $1 =tailcall
|
||||||
|
"JSR2 $1 "POP $1 "JMP2r $1 =tailcall
|
||||||
|
"JSR $1 "POP2 $1 "JMP2r $1 =tailcall
|
||||||
|
"JSR $1 "POP $1 "JMP2r $1 =tailcall
|
||||||
|
|
||||||
&end
|
&end
|
||||||
|
|
Loading…
Reference in New Issue