Commit 39f70936 authored by mbrandy's avatar mbrandy Committed by Commit bot

PPC: Fix CompatibleReceiverCheck.

R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=

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

Cr-Commit-Position: refs/heads/master@{#33339}
parent b540f5a7
......@@ -1356,7 +1356,7 @@ void CompatibleReceiverCheck(MacroAssembler* masm, Register receiver,
// End if the prototype is null or not hidden.
__ JumpIfRoot(receiver, Heap::kNullValueRootIndex, receiver_check_failed);
__ LoadP(map, FieldMemOperand(receiver, HeapObject::kMapOffset));
__ LoadP(scratch, FieldMemOperand(map, Map::kBitField3Offset));
__ lwz(scratch, FieldMemOperand(map, Map::kBitField3Offset));
__ DecodeField<Map::IsHiddenPrototype>(scratch, SetRC);
__ beq(receiver_check_failed, cr0);
// Iterate.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment