Package nginx.clojure.asm

Examples of nginx.clojure.asm.MethodVisitor.visitMethodInsn()


        Type[] tps = Type.getArgumentTypes(invokedInitInsn.desc);
        Type[] ntps = new Type[tps.length + 1];
        System.arraycopy(tps, 0, ntps, 0, tps.length);
        ntps[tps.length] = Type.getType(CheckInstrumentationVisitor.EXCEPTION_DESC);
        cmv.visitInsn(Opcodes.ACONST_NULL);
        cmv.visitMethodInsn(invokedInitInsn.getOpcode(), invokedInitInsn.owner,invokedInitInsn.name, Type.getMethodDescriptor(Type.VOID_TYPE, ntps));
      }else {
        invokedInitInsn.accept(cmv);
      }
    }
   
View Full Code Here


      }else {
        invokedInitInsn.accept(cmv);
      }
    }
   
    cmv.visitMethodInsn(Opcodes.INVOKESTATIC, CSTACK_NAME, "getStack", "()L"+CSTACK_NAME+";");
    cmv.visitVarInsn(Opcodes.ASTORE, lvarCStack);
    cmv.visitVarInsn(Opcodes.ALOAD,lvarCStack);
    emitConst(cmv, fi.numSlots);
    cmv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, CSTACK_NAME, "incRefsAndReserveSpace", "(I)V");
           
View Full Code Here

   
    cmv.visitMethodInsn(Opcodes.INVOKESTATIC, CSTACK_NAME, "getStack", "()L"+CSTACK_NAME+";");
    cmv.visitVarInsn(Opcodes.ASTORE, lvarCStack);
    cmv.visitVarInsn(Opcodes.ALOAD,lvarCStack);
    emitConst(cmv, fi.numSlots);
    cmv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, CSTACK_NAME, "incRefsAndReserveSpace", "(I)V");
           
    for (int i = f.getStackSize(); i-->0 ;) {
        BasicValue v = (BasicValue) f.getStack(i);
        if(!isOmitted(v)) {
            if(!isNullType(v)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.