Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/ArithmeticOp.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 | 3558ca7088c0 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ArithmeticOp.java Thu May 05 14:37:17 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ArithmeticOp.java Thu May 05 15:01:34 2011 +0200 @@ -33,6 +33,9 @@ */ public final class ArithmeticOp extends Op2 { + private static final int INPUT_COUNT = 0; + private static final int SUCCESSOR_COUNT = 0; + private final FrameState stateBefore; private final boolean isStrictFP; @@ -46,7 +49,7 @@ * @param stateBefore the state for instructions that may trap */ public ArithmeticOp(int opcode, CiKind kind, Value x, Value y, boolean isStrictFP, FrameState stateBefore, Graph graph) { - super(kind, opcode, x, y, graph); + super(kind, opcode, x, y, INPUT_COUNT, SUCCESSOR_COUNT, graph); this.isStrictFP = isStrictFP; this.stateBefore = stateBefore; }