Esempio n. 1
0
 public StackFrame(int globalOffset)
 {
     Init(StackValue.BuildPointer(Constants.kInvalidPointer),
          Constants.kInvalidIndex,
          Constants.kInvalidIndex,
          Constants.kInvalidIndex,
          Constants.kInvalidIndex,
          0,
          StackFrameType.LanguageBlock,
          StackFrameType.LanguageBlock,
          Constants.kInvalidIndex,
          globalOffset,
          Constants.kInvalidIndex,
          StackValue.BuildInvalidRegisters(),
          0);
 }
Esempio n. 2
0
        public StackFrame(int globalOffset)
        {
            StackValue svThisPtr   = ProtoCore.DSASM.StackValue.BuildPointer(Constants.kInvalidPointer);
            int        ci          = Constants.kInvalidIndex;
            int        fi          = Constants.kInvalidIndex;
            int        returnAddr  = Constants.kInvalidIndex;
            int        blockDecl   = Constants.kInvalidIndex;
            int        blockCaller = 0;

            StackFrameType callerType   = DSASM.StackFrameType.kTypeLanguage;
            StackFrameType type         = DSASM.StackFrameType.kTypeLanguage;
            int            depth        = -1;
            int            framePointer = globalOffset;

            Init(svThisPtr, ci, fi, returnAddr, blockDecl, blockCaller, callerType, type, depth, framePointer, StackValue.BuildInvalidRegisters(), new List <bool>());
        }