Index: test/unittests/compiler/instruction-selector-unittest.cc |
diff --git a/test/unittests/compiler/instruction-selector-unittest.cc b/test/unittests/compiler/instruction-selector-unittest.cc |
index 4fd35830cfbe357cb49e59c8f572ae189e27c797..acab91b0092301626ef0463b673bfcb41bf4bd5f 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -207,7 +207,8 @@ TARGET_TEST_F(InstructionSelectorTest, ReturnZero) { |
TARGET_TEST_F(InstructionSelectorTest, TruncateFloat64ToInt32WithParameter) { |
StreamBuilder m(this, kMachInt32, kMachFloat64); |
- m.Return(m.TruncateFloat64ToInt32(m.Parameter(0))); |
+ m.Return( |
+ m.TruncateFloat64ToInt32(TruncationMode::kJavaScript, m.Parameter(0))); |
Stream s = m.Build(kAllInstructions); |
ASSERT_EQ(4U, s.size()); |
EXPECT_EQ(kArchNop, s[0]->arch_opcode()); |