Class TypedBlock

    • Field Detail

      • stackTop

        public int stackTop
      • numLocals

        public int numLocals
      • localsTypes

        public TypeData[] localsTypes
      • stackTypes

        public TypeData[] stackTypes
    • Constructor Detail

      • TypedBlock

        protected TypedBlock​(int pos)
    • Method Detail

      • makeBlocks

        public static TypedBlock[] makeBlocks​(MethodInfo minfo,
                                              CodeAttribute ca,
                                              boolean optimize)
                                       throws BadBytecode
        Divides the method body into basic blocks. The type information of the first block is initialized.
        Parameters:
        optimize - if it is true and the method does not include branches, this method returns null.
        Throws:
        BadBytecode
      • toString2

        protected void toString2​(java.lang.StringBuffer sbuf)
        Overrides:
        toString2 in class BasicBlock
      • alreadySet

        public boolean alreadySet()
      • resetNumLocals

        public void resetNumLocals()
      • getRetType

        public static java.lang.String getRetType​(java.lang.String desc)