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 c98bc6cdffdc9f95ea28a860f722883d323117b4..5c508a5d4bcd37cb3cd9be15d6134e2f12b9fd46 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -112,7 +112,7 @@ TEST_F(JSBuiltinReducerTest, MathMax2) { |
if (t0->Is(Type::Integral32()) && t1->Is(Type::Integral32())) { |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), |
- IsSelect(kMachNone, IsNumberLessThan(p1, p0), p1, p0)); |
+ IsSelect(kMachNone, IsNumberLessThan(p1, p0), p0, p1)); |
} else { |
ASSERT_FALSE(r.Changed()); |
EXPECT_EQ(IrOpcode::kJSCallFunction, call->opcode()); |