Temporarily revert a write barrier change

slava 2006-02-24 08:59:19 +00:00
parent b08e6c40ec
commit 16140e65bc
2 changed files with 9 additions and 2 deletions

View File

@ -5,6 +5,7 @@
- delegating generic words with a non-standard picker
- pass an integer stack pos instead of a quotation
- yield in a loop starves i/o
- factoring out the callback quotation
+ portability:

View File

@ -22,8 +22,14 @@ M: %write-barrier generate-node ( vop -- )
#! Mark the card pointed to by vreg.
drop
0 input-operand card-bits SHR
0 input-operand card-offset [+] card-mark OR
rel-absolute-cell rel-cards ;
0 scratch card-offset MOV rel-absolute-cell rel-cards
0 scratch 0 input-operand ADD
0 scratch [] card-mark OR ;
! drop
! 0 input-operand card-bits SHR
! 0 input-operand card-offset [+] card-mark OR
! rel-absolute-cell rel-cards ;
M: %set-slot generate-node ( vop -- )
drop