PPC: Merge cellspace into old pointer space

Port 4e7163ce05

R=mbrandy@us.ibm.com

BUG=

Review URL: https://codereview.chromium.org/1076263002

Cr-Commit-Position: refs/heads/master@{#27761}
This commit is contained in:
michael_dawson 2015-04-10 13:58:40 -07:00 committed by Commit bot
parent fc0dec31c0
commit 3ab8a50244

View File

@ -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.