public class InsertYieldpointCounters extends CompilerPhase
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
DEBUG |
container
Constructor and Description |
---|
InsertYieldpointCounters() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
CompilerPhase |
newExecution(IR ir)
Return this instance of this phase.
|
void |
perform(IR ir)
counters after all yieldpoint instructions
|
boolean |
shouldPerform(OptOptions options)
This method determines if the phase should be run, based on the
Options object it is passed.
|
private static String |
yieldpointPrefix(Operator op)
Return a string based version of the passed yieldpoint operator
|
dumpIR, dumpIR, getClassConstructor, getCompilerPhaseConstructor, getCompilerPhaseConstructor, performPhase, printingEnabled, reportAdditionalStats, setContainer, verify
static final boolean DEBUG
public InsertYieldpointCounters()
public CompilerPhase newExecution(IR ir)
newExecution
in class CompilerPhase
ir
- not usedpublic final boolean shouldPerform(OptOptions options)
CompilerPhase
shouldPerform
in class CompilerPhase
options
- the compiler options for the compilationpublic final String getName()
getName
in class CompilerPhase
public final void perform(IR ir)
perform
in class CompilerPhase
ir
- the governing IRprivate static String yieldpointPrefix(Operator op)
op
- the yieldpoint operator