Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ir;
 
 
 public class IRLoop {
     public final IRScope  container;
     public final IRLoop   parentLoop;
     public final Label    loopStartLabel;
    public final Label    loopEndLabel;
    public final Label    iterStartLabel;
    public final Label    iterEndLabel;
    public final Variable loopResult;
    public IRLoop(IRScope sIRLoop outerLoop) {
         = s;
         = outerLoop;
         = s.getNewLabel("_LOOP_BEGIN");
           = s.getNewLabel("_LOOP_END");
         = s.getNewLabel("_ITER_BEGIN");
           = s.getNewLabel("_ITER_END");
             = s.getNewTemporaryVariable();
        s.setHasLoopsFlag(true);
    }
New to GrepCode? Check out our FAQ X