# HG changeset patch # User Tom Rodriguez # Date 1423526580 28800 # Node ID e7451826b8c0a8e70b9b304d717fa8ea47a00884 # Parent a7fb05f3d7e18142ff8c3aeee25f7018154db7c4 Don't use to ArithmethicOpTable.toString for equality comparisons diff -r a7fb05f3d7e1 -r e7451826b8c0 graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/BinaryArithmeticNode.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/BinaryArithmeticNode.java Mon Feb 09 16:00:00 2015 -0800 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/BinaryArithmeticNode.java Mon Feb 09 16:03:00 2015 -0800 @@ -51,7 +51,7 @@ protected final BinaryOp getOp(ValueNode forX, ValueNode forY) { ArithmeticOpTable table = ArithmeticOpTable.forStamp(forX.stamp()); - assert table.toString().equals(ArithmeticOpTable.forStamp(forY.stamp()).toString()); + assert table.equals(ArithmeticOpTable.forStamp(forY.stamp())); return getOp.apply(table); }