Handbook
Glossary
read-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
read-insn
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
compiler.cfg.instructions
:
read-insn?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
13
fixnum>=
[
13
slot
dup
\
##alien-global
eq?
[
drop
t
]
[
dup
\
##vm-field
eq?
[
drop
t
]
[
dup
\
##slot-imm
eq?
[
drop
t
]
[
\
##slot
eq?
]
if
]
if
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;