src/jdk/nashorn/internal/ir/LoopNode.java

Print this page

        

*** 174,179 **** --- 174,185 ---- * @param lc lexical context * @param controlFlowEscapes control flow escapes value * @return new loop node if changed otherwise the same */ public abstract LoopNode setControlFlowEscapes(final LexicalContext lc, final boolean controlFlowEscapes); + + /** + * Does this loop have a LET declaration and hence require a per-iteration scope? + * @return true if a per-iteration scope is required. + */ + public abstract boolean hasPerIterationScope(); }