Class CodeGen.ReturnHook

  • Enclosing class:
    CodeGen

    protected abstract static class CodeGen.ReturnHook
    extends Object
    doit() in ReturnHook is called from atReturn().
    • Constructor Detail

      • ReturnHook

        protected ReturnHook​(CodeGen gen)
    • Method Detail

      • doit

        protected abstract boolean doit​(Bytecode b,
                                        int opcode)
        Returns true if the generated code ends with return, throw, or goto.
      • remove

        protected void remove​(CodeGen gen)