Handbook
Glossary
inert-arithmetic-tag-untag-insn? ( object -- ? )
Vocabulary
compiler
.
cfg
.
representations
.
selection
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
inert-arithmetic-tag-untag-insn
class.
Definition
USING:
classes.tuple.private
compiler.cfg.instructions
kernel
math.private
slots.private
;
IN:
compiler.cfg.representations.selection
:
inert-arithmetic-tag-untag-insn?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
15
fixnum>=
[
15
slot
dup
\
##sub-imm
eq?
[
drop
t
]
[
\
##add-imm
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;