diff options
Diffstat (limited to 'src/main/javassist/compiler/JvstCodeGen.java')
-rw-r--r-- | src/main/javassist/compiler/JvstCodeGen.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/javassist/compiler/JvstCodeGen.java b/src/main/javassist/compiler/JvstCodeGen.java index e929578b..797db0ce 100644 --- a/src/main/javassist/compiler/JvstCodeGen.java +++ b/src/main/javassist/compiler/JvstCodeGen.java @@ -393,16 +393,15 @@ public class JvstCodeGen extends MemberCodeGen { /* called by Javac#recordSpecialProceed(). */ - void compileInvokeSpecial(ASTree target, String classname, - String methodname, String descriptor, - ASTList args) + void compileInvokeSpecial(ASTree target, int methodIndex, + String descriptor, ASTList args) throws CompileError { target.accept(this); int nargs = getMethodArgsLength(args); atMethodArgs(args, new int[nargs], new int[nargs], new String[nargs]); - bytecode.addInvokespecial(classname, methodname, descriptor); + bytecode.addInvokespecial(methodIndex, descriptor); setReturnType(descriptor, false, false); addNullIfVoid(); } |