Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index a124a3eba80e53e0cfc899bc43d59a6074327843..ae2a6856b40ae81ae298fe503e88e3443350a593 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -2713,7 +2713,7 @@ void BinaryOpICWithAllocationSiteStub::Generate(MacroAssembler* masm) { |
// Load r2 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(). |
- __ Move(r2, handle(isolate()->heap()->undefined_value())); |
+ __ Move(r2, isolate()->factory()->undefined_value()); |
// Make sure that we actually patched the allocation site. |
if (FLAG_debug_code) { |