Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/ShiftOp.java @ 2587:51ebe5f0516f
changed NegateOp, more Op2 changes (generic inputValuesDo impl)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 05 May 2011 15:01:34 +0200 |
parents | 421da5f53b5e |
children | 092e628ddd5d |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ShiftOp.java Thu May 05 14:37:17 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ShiftOp.java Thu May 05 15:01:34 2011 +0200 @@ -33,6 +33,9 @@ */ public final class ShiftOp extends Op2 { + private static final int INPUT_COUNT = 0; + private static final int SUCCESSOR_COUNT = 0; + /** * Creates a new shift operation. * @param opcode the opcode of the shift @@ -40,7 +43,7 @@ * @param y the second input value */ public ShiftOp(int opcode, Value x, Value y, Graph graph) { - super(x.kind, opcode, x, y, graph); + super(x.kind, opcode, x, y, INPUT_COUNT, SUCCESSOR_COUNT, graph); } @Override