Class StackFrame

    • Constructor Detail

      • StackFrame

        public StackFrame​(ExecEnv execEnv,
                          ASMModule asmModule,
                          Operation operation)
        Creates a new StackFrame with the given parameters.
        Parameters:
        execEnv - the execution environment
        asmModule - the transformation module
        operation - the main operation
      • StackFrame

        protected StackFrame​(StackFrame caller,
                             Operation operation)
        Creates a new StackFrame.
        Parameters:
        caller - the parent stack frame
        operation - the operation
      • StackFrame

        public StackFrame​(ExecEnv execEnv)
        Creates an empty StackFrame which refers to its ExecEnv.
        Parameters:
        execEnv - the ExecEnv
    • Method Detail

      • getStringLocation

        protected java.lang.String getStringLocation()
        Returns the current location.
        Returns:
        the current location
      • resolveVariableName

        public java.lang.String resolveVariableName​(int slot)
        Returns the variable name at the given slot.
        Parameters:
        slot - the slot
        Returns:
        the variable name at the given slot
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • getPc

        public int getPc()
      • setPc

        public void setPc​(int pc)