Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 326a5d03df0d7f93fadee52c8af3a58d7e4aa68d..66838e2e772c53da63481082061497ff6fbc02a6 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -2435,7 +2435,7 @@ void BinaryOpICWithAllocationSiteStub::Generate(MacroAssembler* masm) { |
// Load ecx 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(). |
- __ mov(ecx, handle(isolate()->heap()->undefined_value())); |
+ __ mov(ecx, isolate()->factory()->undefined_value()); |
// Make sure that we actually patched the allocation site. |
if (FLAG_debug_code) { |