Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Op2.java @ 2586:421da5f53b5e
more Op2 changes
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 05 May 2011 14:37:17 +0200 |
parents | 3e0e65161345 |
children | 51ebe5f0516f |
comparison
equal
deleted
inserted
replaced
2585:3e0e65161345 | 2586:421da5f53b5e |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.sun.c1x.ir; | 23 package com.sun.c1x.ir; |
24 | 24 |
25 import com.oracle.graal.graph.*; | |
25 import com.sun.c1x.util.*; | 26 import com.sun.c1x.util.*; |
26 import com.sun.cri.bytecode.*; | 27 import com.sun.cri.bytecode.*; |
27 import com.sun.cri.ci.*; | 28 import com.sun.cri.ci.*; |
28 | 29 |
29 /** | 30 /** |
81 * @param kind the result type of this instruction | 82 * @param kind the result type of this instruction |
82 * @param opcode the bytecode opcode | 83 * @param opcode the bytecode opcode |
83 * @param x the first input instruction | 84 * @param x the first input instruction |
84 * @param y the second input instruction | 85 * @param y the second input instruction |
85 */ | 86 */ |
86 public Op2(CiKind kind, int opcode, Value x, Value y) { | 87 public Op2(CiKind kind, int opcode, Value x, Value y, Graph graph) { |
87 super(kind, INPUT_COUNT, SUCCESSOR_COUNT, null); | 88 super(kind, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
88 this.opcode = opcode; | 89 this.opcode = opcode; |
89 setX(x); | 90 setX(x); |
90 setY(y); | 91 setY(y); |
91 } | 92 } |
92 | 93 |