org.jruby.ir.passes.CFGBuilder Maven / Gradle / Ivy
package org.jruby.ir.passes;
import org.jruby.ir.IRScope;
public class CFGBuilder extends CompilerPass {
public String getLabel() {
return "CFG Builder";
}
@Override
public Object previouslyRun(IRScope scope) {
return scope.getCFG();
}
public Object execute(IRScope scope, Object... data) {
return scope.buildCFG();
}
public void invalidate(IRScope scope) {
scope.resetCFG();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy