public class IRManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private IRModuleBody |
classMetaClass |
private java.util.List<CompilerPass> |
compilerPasses |
static java.lang.String |
DEFAULT_COMPILER_PASSES |
static java.lang.String |
DEFAULT_INLINING_COMPILER_PASSES |
private CompilerPassListener |
defaultListener |
private boolean |
dryRun |
private int |
dummyMetaClassCount |
private BooleanLiteral |
falseObject |
private java.util.List<CompilerPass> |
inliningCompilerPasses |
private InstructionsListener |
instrsListener |
private IRScopeListener |
irScopeListener |
private Nil |
nil |
private IRModuleBody |
object |
private java.util.Set<CompilerPassListener> |
passListeners |
private BooleanLiteral |
trueObject |
| Constructor and Description |
|---|
IRManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(CompilerPassListener listener) |
void |
addListener(InstructionsListener listener) |
void |
addListener(IRScopeListener listener) |
IRModuleBody |
getClassMetaClass() |
java.util.List<CompilerPass> |
getCompilerPasses(IRScope scope) |
BooleanLiteral |
getFalse() |
java.util.List<CompilerPass> |
getInliningCompilerPasses(IRScope scope) |
InstructionsListener |
getInstructionsListener() |
IRScopeListener |
getIRScopeListener() |
java.util.Set<CompilerPassListener> |
getListeners() |
java.lang.String |
getMetaClassName() |
Nil |
getNil() |
IRModuleBody |
getObject() |
BooleanLiteral |
getTrue() |
boolean |
isDryRun() |
void |
removeListener(CompilerPassListener listener) |
void |
removeListener(InstructionsListener listener) |
void |
removeListener(IRScopeListener listener) |
CompilerPassScheduler |
schedulePasses() |
void |
setDryRun(boolean value) |
public static java.lang.String DEFAULT_COMPILER_PASSES
public static java.lang.String DEFAULT_INLINING_COMPILER_PASSES
private int dummyMetaClassCount
private final IRModuleBody classMetaClass
private final IRModuleBody object
private final Nil nil
private final BooleanLiteral trueObject
private final BooleanLiteral falseObject
private java.util.Set<CompilerPassListener> passListeners
private CompilerPassListener defaultListener
private InstructionsListener instrsListener
private IRScopeListener irScopeListener
private java.util.List<CompilerPass> compilerPasses
private java.util.List<CompilerPass> inliningCompilerPasses
private boolean dryRun
public boolean isDryRun()
public void setDryRun(boolean value)
public Nil getNil()
public BooleanLiteral getTrue()
public BooleanLiteral getFalse()
public IRModuleBody getObject()
public CompilerPassScheduler schedulePasses()
public java.util.List<CompilerPass> getCompilerPasses(IRScope scope)
public java.util.List<CompilerPass> getInliningCompilerPasses(IRScope scope)
public java.util.Set<CompilerPassListener> getListeners()
public InstructionsListener getInstructionsListener()
public IRScopeListener getIRScopeListener()
public void addListener(CompilerPassListener listener)
public void removeListener(CompilerPassListener listener)
public void addListener(InstructionsListener listener)
public void removeListener(InstructionsListener listener)
public void addListener(IRScopeListener listener)
public void removeListener(IRScopeListener listener)
public IRModuleBody getClassMetaClass()
public java.lang.String getMetaClassName()