Temporarily revert a write barrier change
parent
b08e6c40ec
commit
16140e65bc
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue