From 3ab8a5024418b56c609eee681220f37beaf94bd1 Mon Sep 17 00:00:00 2001 From: michael_dawson Date: Fri, 10 Apr 2015 13:58:40 -0700 Subject: [PATCH] PPC: Merge cellspace into old pointer space Port 4e7163ce05f135918205c7855ae60a48e5d46cc5 R=mbrandy@us.ibm.com BUG= Review URL: https://codereview.chromium.org/1076263002 Cr-Commit-Position: refs/heads/master@{#27761} --- src/ppc/code-stubs-ppc.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc index 788db71811..f7c8e65a06 100644 --- a/src/ppc/code-stubs-ppc.cc +++ b/src/ppc/code-stubs-ppc.cc @@ -1404,6 +1404,11 @@ void InstanceofStub::Generate(MacroAssembler* masm) { // Get the map location in r8 and patch it. __ GetRelocatedValue(inline_site, offset, scratch); __ StoreP(map, FieldMemOperand(offset, Cell::kValueOffset), r0); + + __ mr(r10, map); + __ RecordWriteField(offset, Cell::kValueOffset, r10, function, + kLRHasNotBeenSaved, kDontSaveFPRegs, + OMIT_REMEMBERED_SET, OMIT_SMI_CHECK); } // Register mapping: r6 is object map and r7 is function prototype.