PPC: use the correct condition register
R=joransiu@ca.ibm.com, jyan@ca.ibm.com BUG= LOG=N Change-Id: I73498982db3f247dfd88702b498e882e2a1ef508 Reviewed-on: https://chromium-review.googlesource.com/646711 Commit-Queue: Junliang Yan <jyan@ca.ibm.com> Reviewed-by: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#47754}
This commit is contained in:
parent
fbe184a602
commit
b9747f357f
@ -1775,7 +1775,7 @@ void CallApiCallbackStub::Generate(MacroAssembler* masm) {
|
||||
__ LoadP(scratch, FieldMemOperand(accessor_holder, HeapObject::kMapOffset));
|
||||
__ LoadP(scratch2, FieldMemOperand(scratch, Map::kBitFieldOffset));
|
||||
__ andi(r0, scratch2, Operand(1 << Map::kIsConstructor));
|
||||
__ bne(&skip_looking_for_constructor);
|
||||
__ bne(&skip_looking_for_constructor, cr0);
|
||||
__ GetMapConstructor(context, scratch, scratch, scratch2);
|
||||
__ bind(&skip_looking_for_constructor);
|
||||
__ LoadP(context, FieldMemOperand(context, JSFunction::kContextOffset));
|
||||
|
Loading…
Reference in New Issue
Block a user