Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index f4347c2168ff177fda1aa7485d9075abed3bb262..4e9b05372e69c0e10c4abbb2c2b2637d9d31c6a0 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -2874,7 +2874,7 @@ void BinaryOpICWithAllocationSiteStub::Generate(MacroAssembler* masm) { |
// Load a2 with the allocation site. We stick an undefined dummy value here |
// and replace it with the real allocation site later when we instantiate this |
// stub in BinaryOpICWithAllocationSiteStub::GetCodeCopyFromTemplate(). |
- __ li(a2, handle(isolate()->heap()->undefined_value())); |
+ __ li(a2, isolate()->factory()->undefined_value()); |
// Make sure that we actually patched the allocation site. |
if (FLAG_debug_code) { |