Handbook
Glossary
general-compare-insn? ( object -- ? )
Vocabulary
compiler
.
cfg
.
gvn
.
comparisons
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
general-compare-insn
class.
Definition
USING:
classes.tuple.private
compiler.cfg.instructions
kernel
math.private
slots.private
;
IN:
compiler.cfg.gvn.comparisons
:
general-compare-insn?
( object -- ? )
dup
dup
tuple?
[
layout-of
dup
1
slot
15
fixnum>=
[
15
slot
\
##test-vector
eq?
]
[
drop
f
]
if
]
[
drop
f
]
if
[
drop
t
]
[
scalar-compare-insn?
]
if
;