Index: test/unittests/compiler/js-builtin-reducer-unittest.cc |
diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
index ae367aa395a480fe8711458fcef32df130ab4910..78e9253a1717257385fb6ee1c5c670c265877f0c 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -26,7 +26,8 @@ class JSBuiltinReducerTest : public TypedGraphTest { |
protected: |
Reduction Reduce(Node* node, MachineOperatorBuilder::Flags flags = |
MachineOperatorBuilder::Flag::kNoFlags) { |
- MachineOperatorBuilder machine(zone(), kMachPtr, flags); |
+ MachineOperatorBuilder machine(zone(), MachineType::PointerRepresentation(), |
+ flags); |
SimplifiedOperatorBuilder simplified(zone()); |
JSGraph jsgraph(isolate(), graph(), common(), javascript(), &simplified, |
&machine); |
@@ -142,7 +143,8 @@ TEST_F(JSBuiltinReducerTest, MathMax2) { |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), |
- IsSelect(kMachNone, IsNumberLessThan(p1, p0), p0, p1)); |
+ IsSelect(MachineRepresentation::kNone, |
+ IsNumberLessThan(p1, p0), p0, p1)); |
} |
} |
} |