org.jikesrvm.compilers.opt.bc2ir
Class ConvertBCtoHIR
java.lang.Object
org.jikesrvm.compilers.opt.driver.CompilerPhase
org.jikesrvm.compilers.opt.bc2ir.ConvertBCtoHIR
public final class ConvertBCtoHIR
- extends CompilerPhase
Translate from bytecodes to HIR
Methods inherited from class org.jikesrvm.compilers.opt.driver.CompilerPhase |
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, shouldPerform, verify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertBCtoHIR
public ConvertBCtoHIR()
getName
public String getName()
- Specified by:
getName
in class CompilerPhase
- Returns:
- a String which is the name of the phase.
perform
public void perform(IR ir)
- Generate HIR for ir.method into IR
- Specified by:
perform
in class CompilerPhase
- Parameters:
ir
- The IR to generate HIR into
newExecution
public CompilerPhase newExecution(IR ir)
- Description copied from class:
CompilerPhase
- This method is called immediately before performPhase. Phases
that do not need to create a new instance for each execution may
override this method to return this, but this must be done
carefully! Classes that don't override this method need to
override getClassConstructor.
- Overrides:
newExecution
in class CompilerPhase
- Parameters:
ir
- the IR that is about to be passed to performPhase
- Returns:
- an opt compiler phase on which performPhase may be invoked.