Index: test/unittests/compiler/node-matchers-unittest.cc |
diff --git a/test/unittests/compiler/node-matchers-unittest.cc b/test/unittests/compiler/node-matchers-unittest.cc |
index 5969cb424ad2ceca710c2a8e973d2b573ac15afa..ff13fce27184da2686612d3486656095fdb8f555 100644 |
--- a/test/unittests/compiler/node-matchers-unittest.cc |
+++ b/test/unittests/compiler/node-matchers-unittest.cc |
@@ -390,6 +390,9 @@ TEST_F(NodeMatcherTest, ScaledWithOffset64Matcher) { |
const Operator* d15_op = common()->Int64Constant(15); |
Node* d15 = graph()->NewNode(d15_op); |
USE(d15); |
+ const Operator* d15_32_op = common()->Int32Constant(15); |
+ Node* d15_32 = graph()->NewNode(d15_32_op); |
+ USE(d15_32); |
const Operator* b0_op = common()->Parameter(0); |
Node* b0 = graph()->NewNode(b0_op, graph()->start()); |
@@ -451,6 +454,10 @@ TEST_F(NodeMatcherTest, ScaledWithOffset64Matcher) { |
BaseWithIndexAndDisplacement64Matcher match2(graph()->NewNode(a_op, b0, d15)); |
CheckBaseWithIndexAndDisplacement(&match2, NULL, 0, b0, d15); |
+ BaseWithIndexAndDisplacement64Matcher match2_32( |
+ graph()->NewNode(a_op, b0, d15_32)); |
+ CheckBaseWithIndexAndDisplacement(&match2_32, NULL, 0, b0, d15_32); |
+ |
// (D15 + B0) -> [NULL, 0, B0, D15] |
BaseWithIndexAndDisplacement64Matcher match3(graph()->NewNode(a_op, d15, b0)); |
CheckBaseWithIndexAndDisplacement(&match3, NULL, 0, b0, d15); |