private class SPARCHotSpotCounterOp.IncrementEmitter extends Object implements HotSpotCounterOp.CounterProcedure
Modifier and Type | Field and Description |
---|---|
private Register |
countersArrayReg |
private int |
lastDisplacement |
private SPARCMacroAssembler |
masm |
Constructor and Description |
---|
IncrementEmitter(Register countersArrayReg,
SPARCMacroAssembler masm) |
Modifier and Type | Method and Description |
---|---|
void |
apply(int counterIndex,
Value increment,
int displacement)
Lambda interface for iterating over counters declared in this op.
|
private int lastDisplacement
private final Register countersArrayReg
private final SPARCMacroAssembler masm
public IncrementEmitter(Register countersArrayReg, SPARCMacroAssembler masm)
public void apply(int counterIndex, Value increment, int displacement)
HotSpotCounterOp.CounterProcedure
apply
in interface HotSpotCounterOp.CounterProcedure
counterIndex
- Index in this CounterOp object.increment
- Value for incrementdisplacement
- Displacement in bytes in the counter array