public static class StackValue.OnStack extends StackValue
StackValue.CallReceiver, StackValue.Composed, StackValue.Constant, StackValue.Local, StackValue.OnStack, StackValue.Shared, StackValue.StackValueWithSimpleReceiver
type
Constructor and Description |
---|
StackValue.OnStack(org.jetbrains.asm4.Type type) |
Modifier and Type | Method and Description |
---|---|
void |
moveToTopOfStack(org.jetbrains.asm4.Type type,
org.jetbrains.asm4.commons.InstructionAdapter v,
int depth)
This method is called to put the value on the top of the JVM stack if
depth other values have been put on the
JVM stack after this value was generated. |
void |
put(org.jetbrains.asm4.Type type,
org.jetbrains.asm4.commons.InstructionAdapter v)
Put this value to the top of the stack.
|
arrayElement, cmp, coerce, coerceFrom, coerceTo, collectionElement, composed, condJump, constant, dupReceiver, expression, field, fieldForSharedVar, local, none, not, onStack, postIncrement, preIncrement, property, putAsBoolean, putUnitInstance, receiver, receiverSize, receiverWithoutReceiverArgument, refType, shared, sharedTypeForType, singleton, store, thisOrOuter
public StackValue.OnStack(org.jetbrains.asm4.Type type)
public void put(org.jetbrains.asm4.Type type, org.jetbrains.asm4.commons.InstructionAdapter v)
StackValue
put
in class StackValue
public void moveToTopOfStack(org.jetbrains.asm4.Type type, org.jetbrains.asm4.commons.InstructionAdapter v, int depth)
StackValue
depth
other values have been put on the
JVM stack after this value was generated.moveToTopOfStack
in class StackValue
type
- the type as which the value should be putv
- the visitor used to genClassOrObject the instructionsdepth
- the number of new values put onto the stack