comparison graal/GraalCompiler/src/com/sun/c1x/ir/Invoke.java @ 2829:27c00b180416

fix merge error
author Lukas Stadler <lukas.stadler@jku.at>
date Tue, 31 May 2011 09:51:59 +0200
parents d6f3dbb4e3b5
children bfce42cd9c07
comparison
equal deleted inserted replaced
2828:d6f3dbb4e3b5 2829:27c00b180416
91 * @param args the list of instructions producing arguments to the invocation, including the receiver object 91 * @param args the list of instructions producing arguments to the invocation, including the receiver object
92 * @param isStatic {@code true} if this call is static (no receiver object) 92 * @param isStatic {@code true} if this call is static (no receiver object)
93 * @param target the target method being called 93 * @param target the target method being called
94 * @param stateBefore the state before executing the invocation 94 * @param stateBefore the state before executing the invocation
95 */ 95 */
96 public Invoke(int opcode, CiKind result, Value[] args, RiMethod target, RiType returnType, Graph graph, int bci) { 96 public Invoke(int bci, int opcode, CiKind result, Value[] args, RiMethod target, RiType returnType, Graph graph) {
97 super(result, args.length, SUCCESSOR_COUNT, graph); 97 super(result, args.length, SUCCESSOR_COUNT, graph);
98 this.opcode = opcode; 98 this.opcode = opcode;
99 this.target = target; 99 this.target = target;
100 this.returnType = returnType; 100 this.returnType = returnType;
101 this.bci = bci; 101 this.bci = bci;
183 out.print(CiUtil.format(") [method: %H.%n(%p):%r]", target, false)); 183 out.print(CiUtil.format(") [method: %H.%n(%p):%r]", target, false));
184 } 184 }
185 185
186 @Override 186 @Override
187 public Node copy(Graph into) { 187 public Node copy(Graph into) {
188 Invoke x = new Invoke(opcode, kind, new Value[argumentCount], target, returnType, into); 188 Invoke x = new Invoke(bci, opcode, kind, new Value[argumentCount], target, returnType, into);
189 x.setNonNull(isNonNull()); 189 x.setNonNull(isNonNull());
190 return x; 190 return x;
191 } 191 }
192 } 192 }