Handbook
Glossary
memory-alias-loop ( a: memory-cell b: memory-cell n: fixnum -- result: fixnum )
Vocabulary
compiler
.
cfg
.
memory-optimization
.
validation
Inputs
a
a
memory-cell
b
a
memory-cell
n
a
fixnum
Outputs
result
a
fixnum
Definition
USING:
accessors
kernel
math
typed
;
IN:
compiler.cfg.memory-optimization.validation
TYPED::
memory-alias-loop
( a: memory-cell b: memory-cell n: fixnum -- result: fixnum )
a
value>>
:>
before n
[|
i | b i
>>value
drop
]
each-integer
before a
value>>
bitxor
;
inline