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 16030f80d7867146fb2c90505155347add621861..69ae7684c4816019b99d8cfcd2ea78f9d23aa0bd 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -199,11 +199,9 @@ TARGET_TEST_F(InstructionSelectorTest, ReturnZero) { |
// ----------------------------------------------------------------------------- |
// Conversions. |
- |
-TARGET_TEST_F(InstructionSelectorTest, TruncateFloat64ToInt32WithParameter) { |
+TARGET_TEST_F(InstructionSelectorTest, TruncateFloat64ToWord32WithParameter) { |
StreamBuilder m(this, MachineType::Int32(), MachineType::Float64()); |
- m.Return( |
- m.TruncateFloat64ToInt32(TruncationMode::kJavaScript, m.Parameter(0))); |
+ m.Return(m.TruncateFloat64ToWord32(m.Parameter(0))); |
Stream s = m.Build(kAllInstructions); |
ASSERT_EQ(4U, s.size()); |
EXPECT_EQ(kArchNop, s[0]->arch_opcode()); |