public class LiveVariableAnalysis extends CompilerPass
Constructor and Description |
---|
LiveVariableAnalysis() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(IRScope scope,
java.lang.Object... data)
Meat of an individual pass.
|
java.util.List<java.lang.Class<? extends CompilerPass>> |
getDependencies() |
java.lang.String |
getLabel()
What is the user-friendly name of this compiler pass
|
boolean |
invalidate(IRScope scope)
The data that this pass is responsible for will get invalidated so that
if this pass is then executed it will generate new pass data.
|
java.lang.Object |
previouslyRun(IRScope scope)
If this pass has been previous run, then return the data from that last run.
|
createPassInstance, createPassInstance, equals, getPassesFromString, getShortLabel, hashCode, run, run, run
public java.util.List<java.lang.Class<? extends CompilerPass>> getDependencies()
getDependencies
in class CompilerPass
public java.lang.String getLabel()
CompilerPass
getLabel
in class CompilerPass
public java.lang.Object previouslyRun(IRScope scope)
CompilerPass
previouslyRun
in class CompilerPass
public java.lang.Object execute(IRScope scope, java.lang.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 boolean invalidate(IRScope scope)
CompilerPass
invalidate
in class CompilerPass
scope
- is where the pass stores its data.Copyright © 2001-2018 JRuby. All Rights Reserved.