public class CFGBuilder extends CompilerPass
NO_DEPENDENCIES
Constructor and Description |
---|
CFGBuilder() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(IRScope scope,
Object... data)
Meat of an individual pass.
|
String |
getLabel()
What is the user-friendly name of this compiler pass
|
void |
invalidate(IRScope scope)
The data that this pass is responsible for will get invalidated so that
if this pass is then execute()d it will generate new pass data.
|
Object |
previouslyRun(IRScope scope)
If this pass has been previous run then return the data from that last run.
|
createPassInstance, createPassInstance, getDependencies, getPassesFromString, run, run
public String getLabel()
CompilerPass
getLabel
in class CompilerPass
public Object previouslyRun(IRScope scope)
CompilerPass
previouslyRun
in class CompilerPass
public Object execute(IRScope scope, Object... data)
CompilerPass
execute
in class CompilerPass
scope
- is the scope to run this pass ondata
- is the data supplied to this pass to use to execute the passpublic void invalidate(IRScope scope)
CompilerPass
invalidate
in class CompilerPass
scope
- is where the pass stores its data.Copyright © 2001-2014 JRuby. All Rights Reserved.