comparison graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/nodes/arithmetic/IntegerMulExactNode.java @ 17450:45b45f902bed

removed Node generation (GRAAL-857)
author Doug Simon <doug.simon@oracle.com>
date Wed, 15 Oct 2014 15:35:33 +0200
parents ec35bb4eccb8
children 9619ba4daf4c
comparison
equal deleted inserted replaced
17449:cca154b1bf91 17450:45b45f902bed
37 */ 37 */
38 @NodeInfo 38 @NodeInfo
39 public class IntegerMulExactNode extends MulNode implements IntegerExactArithmeticNode { 39 public class IntegerMulExactNode extends MulNode implements IntegerExactArithmeticNode {
40 40
41 public static IntegerMulExactNode create(ValueNode x, ValueNode y) { 41 public static IntegerMulExactNode create(ValueNode x, ValueNode y) {
42 return USE_GENERATED_NODES ? new IntegerMulExactNodeGen(x, y) : new IntegerMulExactNode(x, y); 42 return new IntegerMulExactNode(x, y);
43 } 43 }
44 44
45 protected IntegerMulExactNode(ValueNode x, ValueNode y) { 45 protected IntegerMulExactNode(ValueNode x, ValueNode y) {
46 super(x, y); 46 super(x, y);
47 assert x.stamp().isCompatible(y.stamp()) && x.stamp() instanceof IntegerStamp; 47 assert x.stamp().isCompatible(y.stamp()) && x.stamp() instanceof IntegerStamp;