comparison graal/GraalCompiler/src/com/sun/c1x/ir/ShiftOp.java @ 2586:421da5f53b5e

more Op2 changes
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 05 May 2011 14:37:17 +0200
parents 16b9a8b5ad39
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.debug.*; 26 import com.sun.c1x.debug.*;
26 import com.sun.cri.bytecode.*; 27 import com.sun.cri.bytecode.*;
27 28
28 /** 29 /**
29 * The {@code ShiftOp} class represents shift operations. 30 * The {@code ShiftOp} class represents shift operations.
36 * Creates a new shift operation. 37 * Creates a new shift operation.
37 * @param opcode the opcode of the shift 38 * @param opcode the opcode of the shift
38 * @param x the first input value 39 * @param x the first input value
39 * @param y the second input value 40 * @param y the second input value
40 */ 41 */
41 public ShiftOp(int opcode, Value x, Value y) { 42 public ShiftOp(int opcode, Value x, Value y, Graph graph) {
42 super(x.kind, opcode, x, y); 43 super(x.kind, opcode, x, y, graph);
43 } 44 }
44 45
45 @Override 46 @Override
46 public void accept(ValueVisitor v) { 47 public void accept(ValueVisitor v) {
47 v.visitShiftOp(this); 48 v.visitShiftOp(this);