Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index b210f74c8a9f18de084915e59d37107873e8d5bf..9e9b7ceb7cc3092b7e32b8d1ccc87ba143f8e603 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -6019,7 +6019,7 @@ void FastElementsConversionStub::GenerateDoubleToObject( |
// Prepare for conversion loop. |
__ movq(rsi, BitCast<int64_t, uint64_t>(kHoleNanInt64), RelocInfo::NONE); |
- __ Move(rdi, masm->isolate()->factory()->the_hole_value()); |
+ __ LoadRoot(rdi, Heap::kTheHoleValueRootIndex); |
// rsi: the-hole NaN |
// rdi: pointer to the-hole |
__ jmp(&entry); |