Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 2546ff89e1f483e5178754f2e5ff91289da0466c..a57d263a2e3857252248bfa308ca39158ff61a34 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) { |