find-use ( insn# live-interval -- vreg-use/f )


Vocabulary
compiler.cfg.linear-scan.live-intervals

Inputs
insn#an integer
live-intervala live-interval-state


Outputs
vreg-use/fa vreg-use


Word description
Finds the live intervals vreg-use at the given instruction number, if it has one.

Definition


:: find-use ( insn# live-interval -- vreg-use/f )
insn# live-interval (find-use) dup
[ dup n>> insn# = [ drop f ] unless ] when ;