Handbook
Glossary
unary-constant-fold* ( x insn -- y )
Vocabulary
compiler
.
cfg
.
gvn
.
folding
Inputs
x
an
object
insn
an
object
Outputs
y
an
object
Definition
IN:
compiler.cfg.gvn.folding
GENERIC:
unary-constant-fold*
( x insn -- y )
Methods
USING:
compiler.cfg.gvn.folding
compiler.cfg.instructions
kernel
math
;
M:
##neg
unary-constant-fold*
drop
neg
;
USING:
compiler.cfg.gvn.folding
compiler.cfg.instructions
kernel
math
;
M:
##not
unary-constant-fold*
drop
bitnot
;