Esempio n. 1
0
        public override void compile(CompilerContext context, MethodVisitor mv)
        {
            // Generate the instruction label before the hook call so that
            // the hook is being executed when branching to the instruction.
            if (hasLabel())
            {
                mv.visitLabel(Label);
                Label = null;
            }

            context.visitHook(nativeCodeSequence);
            base.compile(context, mv);
        }
Esempio n. 2
0
 public override void EndBlock()
 {
     _methodVisitor.visitJumpInsn(GOTO, _repeat);
     _methodVisitor.visitLabel(_done);
 }
Esempio n. 3
0
 public override void EndBlock()
 {
     _methodVisitor.visitLabel(_after);
 }