x86 backend fixes

release
Slava Pestov 2007-10-06 18:54:46 -04:00
parent b23e109447
commit e925675377
3 changed files with 2 additions and 4 deletions

View File

@ -13,6 +13,5 @@ IN: bootstrap.x86
: scan-reg EBX ;
: xt-reg ECX ;
: fixnum>slot@ arg0 1 SAR ;
: next-frame@ -44 ;
"resource:core/cpu/x86/bootstrap.factor" run-file

View File

@ -13,6 +13,5 @@ IN: bootstrap.x86
: scan-reg RBX ;
: xt-reg RCX ;
: fixnum>slot@ ;
: next-frame@ -88 ;
"resource:core/cpu/x86/bootstrap.factor" run-file

View File

@ -8,10 +8,10 @@ big-endian off
1 jit-code-format set
: scan-save stack-reg 3 bootstrap-cells [+] ;
: stack-frame-size 8 bootstrap-cells ;
: scan-save stack-reg stack-frame-size 3 bootstrap-cells - [+] ;
[
arg0 arg0 quot-array@ [+] MOV ! load array
scan-reg arg0 scan@ [+] LEA ! initialize scan pointer