Handbook
Glossary
%write-barrier-imm ( src slot tag temp1 temp2 -- )
Vocabulary
cpu
.
architecture
Inputs
src
an
object
slot
an
object
tag
an
object
temp1
an
object
temp2
an
object
Outputs
None
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
%write-barrier-imm
cpu
( src slot tag temp1 temp2 -- )
Methods
USING:
compiler.constants
cpu.architecture
cpu.arm.64
cpu.arm.64.assembler
system
;
M::
arm.64
%write-barrier-imm
( SRC slot tag TEMP1 TEMP2 -- )
TEMP1 SRC slot tag
slot-offset
ADD
TEMP1 TEMP2
(%write-barrier)
;
USING:
cpu.architecture
cpu.x86
cpu.x86.assembler
system
;
M::
x86
%write-barrier-imm
( src slot tag temp1 temp2 -- )
temp1 src slot tag
(%slot-imm)
LEA
temp1 temp2
(%write-barrier)
;