| java.util.ArrayList org.openlaszlo.sc.StackModel
StackModel | public class StackModel extends ArrayList (Code) | | StackModel models the stack in the peephole block. It obeys
List operations and is manipulated as a List by all
instructions other than PUSH. PUSH uses a special entry to annotate
the data it pushes with the push responsible for the data. This
annotation is used by the push merging logic. Any modification of
the data in the model by a normal instruction will clear the
associated push annotation
|
Field Summary | |
RemovableArrayList | pushes |
pushes | RemovableArrayList pushes(Code) | | |
StackModel | public StackModel()(Code) | | |
clear | public void clear()(Code) | | |
ensureCapacity | public void ensureCapacity(int minCapacity)(Code) | | |
lastPush | public PUSHInstruction lastPush()(Code) | | |
notePush | public void notePush(PUSHInstruction instr, List data)(Code) | | |
pushDepth | public int pushDepth(PUSHInstruction instr)(Code) | | |
removeRange | protected void removeRange(int fromIndex, int toIndex)(Code) | | |
trimToSize | public void trimToSize()(Code) | | |
|
|