update-inline-cache ( word/quot ic -- ) (original) (raw)
update-inline-cache ( word/quot ic -- )
Vocabulary
compiler.tree.propagation.call-effect
Inputs
word/quot | a word or a quotation |
---|---|
ic | an inline-cache |
Outputs
None
Word description
Sets the inline caches value to the given word/quot and updates its counter to the value of the effect-counter.
Definition
USING: accessors compiler.units kernel ;
IN: compiler.tree.propagation.call-effect
: update-inline-cache ( word/quot ic -- )
swap >>value effect-counter >>counter drop ; inline