Handbook
Glossary
conditional-branch-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
conditional-branch-insn
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
compiler.cfg.instructions
:
conditional-branch-insn?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
11
fixnum>=
[
11
slot
dup
\
##fixnum-mul
eq?
[
drop
t
]
[
dup
\
##fixnum-sub
eq?
[
drop
t
]
[
dup
\
##fixnum-add
eq?
[
drop
t
]
[
dup
\
##check-nursery-branch
eq?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;