Handbook
Glossary
gc-map-insn? ( object -- ? )
Vocabulary
compiler
.
cfg
.
instructions
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
gc-map-insn
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
compiler.cfg.instructions
:
gc-map-insn?
( object -- ? )
dup
tuple?
[
layout-of
dup
dup
1
slot
15
fixnum>=
[
15
slot
dup
\
##box-long-long
eq?
[
drop
t
]
[
\
##box
eq?
]
if
]
[
drop
f
]
if
[
drop
t
]
[
dup
dup
1
slot
11
fixnum>=
[
11
slot
dup
\
##alien-invoke
eq?
[
drop
t
]
[
\
##alien-indirect
eq?
]
if
]
[
drop
f
]
if
[
drop
t
]
[
dup
1
slot
9
fixnum>=
[
9
slot
\
##call-gc
eq?
]
[
drop
f
]
if
]
if
]
if
]
[
drop
f
]
if
;