Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: src/ppc/builtins-ppc.cc

Issue 1589373002: PPC: Fix CompatibleReceiverCheck. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/builtins-ppc.cc
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc
index d78b1b501a23d50ed4a668028948e2ad1ac285e2..20251258e10fdba8cbd294f437fcd182a6c8e4ad 100644
--- a/src/ppc/builtins-ppc.cc
+++ b/src/ppc/builtins-ppc.cc
@@ -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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698