final class AssemblerDriver extends CompilerPhase
container
Constructor and Description |
---|
AssemblerDriver() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
CompilerPhase |
newExecution(IR ir)
This method is called immediately before performPhase.
|
void |
perform(IR ir)
This is the method that actually does the work of the phase.
|
boolean |
printingEnabled(OptOptions options,
boolean before)
Returns true if the phase wants the IR dumped before and/or after it runs.
|
void |
verify(IR ir)
Verify the IR.
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, reportAdditionalStats, setContainer, shouldPerform
AssemblerDriver()
public String getName()
getName
in class CompilerPhase
public boolean printingEnabled(OptOptions options, boolean before)
CompilerPhase
printingEnabled
in class CompilerPhase
options
- the compiler options for the compilationbefore
- true when invoked before perform, false otherwise.public CompilerPhase newExecution(IR ir)
CompilerPhase
newExecution
in class CompilerPhase
ir
- the IR that is about to be passed to performPhasepublic void perform(IR ir)
CompilerPhase
perform
in class CompilerPhase
ir
- the IR on which to apply the phasepublic void verify(IR ir)
CompilerPhase
verify
in class CompilerPhase
ir
- the IR to verify