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 9b1b40e51b51ea0c6118fc1ee9dfa2ef2d66dc7a..7edbf4261678595c0f1da7ab0bbeec47e81902b8 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -480,7 +480,7 @@ |
EXPECT_EQ(0, s.ToInt32(call_instr->InputAt(4))); // This should be a context. |
// We inserted 0 here. |
EXPECT_EQ(0.5, s.ToFloat64(call_instr->InputAt(5))); |
- EXPECT_TRUE(s.ToHeapObject(call_instr->InputAt(6))->IsUndefined(isolate())); |
+ EXPECT_TRUE(s.ToHeapObject(call_instr->InputAt(6))->IsUndefined()); |
EXPECT_EQ(MachineType::AnyTagged(), |
desc_before->GetType(0)); // function is always |
// tagged/any. |