Lines Matching refs:code
44 Bytecode code = makeBody(declaring, declaring.getClassFile2(), body,
46 mt.getMethodInfo2().setCodeAttribute(code.toCodeAttribute());
58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0);
60 parameters, returnType, cparam, code);
61 code.setMaxStack(stacksize);
62 code.setMaxLocals(isStatic, parameters, 0);
63 return code;
73 Bytecode code)
81 code.addAload(0);
83 int stacksize = compileParameterList(code, parameters,
92 stacksize2 = cparam.compile(code);
111 code.addInvokestatic(Bytecode.THIS, bodyname, desc);
113 code.addInvokespecial(Bytecode.THIS, bodyname, desc);
115 compileReturn(code, returnType); // consumes 2 stack entries
165 * by the produced code.
171 static int compileParameterList(Bytecode code,
173 return JvstCodeGen.compileParameterList(code, params, regno);
179 private static void compileReturn(Bytecode code, CtClass type) {
184 code.addCheckcast(wrapper);
185 code.addInvokevirtual(wrapper, pt.getGetMethodName(),
189 code.addOpcode(pt.getReturnOp());
192 code.addCheckcast(type);
193 code.addOpcode(Bytecode.ARETURN);