Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2825:9ba6a8abe894
Fix Invoke bci problem
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Mon, 30 May 2011 18:01:32 +0200 |
parents | 244921d7cf50 |
children | 27c00b180416 |
comparison
equal
deleted
inserted
replaced
2824:244921d7cf50 | 2825:9ba6a8abe894 |
---|---|
827 appendInvoke(INVOKESPECIAL, target, args, cpi, constantPool); | 827 appendInvoke(INVOKESPECIAL, target, args, cpi, constantPool); |
828 } | 828 } |
829 | 829 |
830 private void appendInvoke(int opcode, RiMethod target, Value[] args, int cpi, RiConstantPool constantPool) { | 830 private void appendInvoke(int opcode, RiMethod target, Value[] args, int cpi, RiConstantPool constantPool) { |
831 CiKind resultType = returnKind(target); | 831 CiKind resultType = returnKind(target); |
832 Invoke invoke = new Invoke(opcode, resultType.stackKind(), args, target, target.signature().returnType(compilation.method.holder()), graph); | 832 Invoke invoke = new Invoke(opcode, resultType.stackKind(), args, target, target.signature().returnType(compilation.method.holder()), graph, bci()); |
833 Value result = appendWithBCI(invoke); | 833 Value result = appendWithBCI(invoke); |
834 handleException(invoke, bci()); | 834 handleException(invoke, bci()); |
835 frameState.pushReturn(resultType, result); | 835 frameState.pushReturn(resultType, result); |
836 } | 836 } |
837 | 837 |