public class IRPrinter extends CompilerPhase
Modifier and Type | Field and Description |
---|---|
protected String |
msg |
container
Constructor and Description |
---|
IRPrinter(String m)
Constuct a phase to print the IR with a message.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
CompilerPhase |
newExecution(IR ir)
Return this instance of this phase
|
void |
perform(IR ir)
Print an IR
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, shouldPerform, verify
public final String getName()
getName
in class CompilerPhase
public final void perform(IR ir)
perform
in class CompilerPhase
ir
- the IR to printpublic CompilerPhase newExecution(IR ir)
newExecution
in class CompilerPhase
ir
- not used