org.jetbrains.jet.codegen
Class StackValue.Shared

java.lang.Object
  extended by org.jetbrains.jet.codegen.StackValue
      extended by org.jetbrains.jet.codegen.StackValue.Shared
Enclosing class:
StackValue

public static class StackValue.Shared
extends StackValue


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.jet.codegen.StackValue
StackValue.CallReceiver, StackValue.Composed, StackValue.Constant, StackValue.Field, StackValue.Local, StackValue.OnStack, StackValue.Shared, StackValue.StackValueWithSimpleReceiver
 
Field Summary
 
Fields inherited from class org.jetbrains.jet.codegen.StackValue
type
 
Constructor Summary
StackValue.Shared(int index, org.jetbrains.asm4.Type type)
           
 
Method Summary
 int getIndex()
           
 void put(org.jetbrains.asm4.Type type, org.jetbrains.asm4.commons.InstructionAdapter v)
          Put this value to the top of the stack.
 void releaseOnPut()
           
 void store(org.jetbrains.asm4.Type topOfStackType, org.jetbrains.asm4.commons.InstructionAdapter v)
          Set this value from the top of the stack.
 
Methods inherited from class org.jetbrains.jet.codegen.StackValue
arrayElement, cmp, coerce, coerceFrom, coerceTo, collectionElement, composed, condJump, constant, dupReceiver, expression, field, fieldForSharedVar, local, moveToTopOfStack, none, not, onStack, postIncrement, preIncrement, property, putAsBoolean, putUnitInstance, receiver, receiverSize, receiverWithoutReceiverArgument, refType, shared, sharedTypeForType, singleton, thisOrOuter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackValue.Shared

public StackValue.Shared(int index,
                         org.jetbrains.asm4.Type type)
Method Detail

releaseOnPut

public void releaseOnPut()

getIndex

public int getIndex()

put

public void put(org.jetbrains.asm4.Type type,
                org.jetbrains.asm4.commons.InstructionAdapter v)
Description copied from class: StackValue
Put this value to the top of the stack.

Specified by:
put in class StackValue

store

public void store(org.jetbrains.asm4.Type topOfStackType,
                  org.jetbrains.asm4.commons.InstructionAdapter v)
Description copied from class: StackValue
Set this value from the top of the stack.

Overrides:
store in class StackValue