Example #1
0
 protected void AssignStacksFromFrame() {
   _floatStack = (floatStack) _floatFrameStack.top();
   _intStack = (intStack) _intFrameStack.top();
   _boolStack = (booleanStack) _boolFrameStack.top();
   _codeStack = (ObjectStack) _codeFrameStack.top();
   _nameStack = (ObjectStack) _nameFrameStack.top();
 }
Example #2
0
  public void PopFrame() {
    if (_useFrames) {
      boolean boolTop = _boolStack.top();
      int intTop = _intStack.top();
      float floatTop = _floatStack.top();
      Object nameTop = _nameStack.top();
      Object codeTop = _codeStack.top();

      PopStacks();

      _floatStack.push(floatTop);
      _intStack.push(intTop);
      _boolStack.push(boolTop);

      if (nameTop != null) _nameStack.push(nameTop);
      if (codeTop != null) _codeStack.push(codeTop);
    }
  }