Another cpu.x86 fix
parent
b88d219ff6
commit
b0944cb3f8
|
@ -100,12 +100,14 @@ M: x86-backend %call-dispatch ( word-table# -- )
|
||||||
[ 5 (%dispatch) CALL <label> dup JMP ] H{
|
[ 5 (%dispatch) CALL <label> dup JMP ] H{
|
||||||
{ +input+ { { f "n" } } }
|
{ +input+ { { f "n" } } }
|
||||||
{ +scratch+ { { f "offset" } } }
|
{ +scratch+ { { f "offset" } } }
|
||||||
|
{ +clobber+ { "n" } }
|
||||||
} with-template ;
|
} with-template ;
|
||||||
|
|
||||||
M: x86-backend %jump-dispatch ( -- )
|
M: x86-backend %jump-dispatch ( -- )
|
||||||
[ %epilogue-later 0 (%dispatch) JMP ] H{
|
[ %epilogue-later 0 (%dispatch) JMP ] H{
|
||||||
{ +input+ { { f "n" } } }
|
{ +input+ { { f "n" } } }
|
||||||
{ +scratch+ { { f "offset" } } }
|
{ +scratch+ { { f "offset" } } }
|
||||||
|
{ +clobber+ { "n" } }
|
||||||
} with-template ;
|
} with-template ;
|
||||||
|
|
||||||
M: x86-backend %dispatch-label ( word -- )
|
M: x86-backend %dispatch-label ( word -- )
|
||||||
|
|
Loading…
Reference in New Issue