Handbook
Glossary
def-is-use-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
def-is-use-insn
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
compiler.cfg.instructions
:
def-is-use-insn?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
15
fixnum>=
[
15
slot
dup
\
##unbox-any-c-ptr
eq?
[
drop
t
]
[
dup
\
##box-displaced-alien
eq?
[
drop
t
]
[
\
##box-alien
eq?
]
if
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;