Class CurrentFrame


  • final class CurrentFrame
    extends Frame
    Information about the input stack map frame at the "current" instruction of a method. This is implemented as a Frame subclass for a "basic block" containing only one instruction.
    • Constructor Detail

      • CurrentFrame

        CurrentFrame​(Label owner)
    • Method Detail

      • execute

        void execute​(int opcode,
                     int arg,
                     Symbol symbolArg,
                     SymbolTable symbolTable)
        Sets this CurrentFrame to the input stack map frame of the next "current" instruction, i.e. the instruction just after the given one. It is assumed that the value of this object when this method is called is the stack map frame status just before the given instruction is executed.
        Overrides:
        execute in class Frame
        Parameters:
        opcode - the opcode of the instruction.
        arg - the numeric operand of the instruction, if any.
        symbolArg - the Symbol operand of the instruction, if any.
        symbolTable - the type table to use to lookup and store type Symbol.