Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2825:9ba6a8abe894
Fix Invoke bci problem
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Mon, 30 May 2011 18:01:32 +0200 |
parents | ac4b086cbd72 |
children | d54ea877a302 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Mon May 30 16:41:05 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Mon May 30 18:01:32 2011 +0200 @@ -464,11 +464,12 @@ } private int getBeforeInvokeBci(Invoke invoke) { - int length = 3; + /*int length = 3; if (invoke.opcode() == Bytecodes.INVOKEINTERFACE) { length += 2; } - return invoke.stateAfter().bci - length; + return invoke.stateAfter().bci - length;*/ + return invoke.bci; } @Override