Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ir.passes;
 
 
 public class CFGBuilder extends CompilerPass {
     public String getLabel() {
         return "CFG Builder";
     }
 
    @Override
    public Object previouslyRun(IRScope scope) {
        return scope.getCFG();
    }
    
    public Object execute(IRScope scopeObject... data) {
        return scope.buildCFG();
    }
    
    public void invalidate(IRScope scope) {
        scope.resetCFG();
    }
New to GrepCode? Check out our FAQ X