Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/Invoke.java @ 2828:d6f3dbb4e3b5
merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 30 May 2011 18:47:33 +0200 |
parents | bd17ac598c6e 9ba6a8abe894 |
children | 27c00b180416 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Invoke.java Mon May 30 18:46:57 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Invoke.java Mon May 30 18:47:33 2011 +0200 @@ -81,6 +81,7 @@ public final int opcode; public final RiMethod target; public final RiType returnType; + public final int bci; // XXX needed because we can not compute the bci from the sateBefore bci of this Invoke was optimized from INVOKEINTERFACE to INVOKESPECIAL /** * Constructs a new Invoke instruction. @@ -92,11 +93,12 @@ * @param target the target method being called * @param stateBefore the state before executing the invocation */ - public Invoke(int opcode, CiKind result, Value[] args, RiMethod target, RiType returnType, Graph graph) { + public Invoke(int opcode, CiKind result, Value[] args, RiMethod target, RiType returnType, Graph graph, int bci) { super(result, args.length, SUCCESSOR_COUNT, graph); this.opcode = opcode; this.target = target; this.returnType = returnType; + this.bci = bci; this.argumentCount = args.length; for (int i = 0; i < args.length; i++) {