All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.ir.passes.CFGBuilder Maven / Gradle / Ivy

There is a newer version: 9.4.9.0
Show newest version
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