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

Unified Diff: src/ppc/full-codegen-ppc.cc

Issue 1240833002: PPC: Reland Update V8 DEPS. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | « src/ppc/code-stubs-ppc.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/full-codegen-ppc.cc
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
index 455cc1e3fc7f6ac64e5543452f1b170d3368315d..84446d0946dd365a6bc57615bd2fdd0992f46e36 100644
--- a/src/ppc/full-codegen-ppc.cc
+++ b/src/ppc/full-codegen-ppc.cc
@@ -4463,10 +4463,9 @@ void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) {
__ lwz(r3, FieldMemOperand(r3, String::kHashFieldOffset));
// PPC - assume ip is free
__ mov(ip, Operand(String::kContainsCachedArrayIndexMask));
- __ and_(r0, r3, ip);
- __ cmpi(r0, Operand::Zero());
+ __ and_(r0, r3, ip, SetRC);
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
- Split(eq, if_true, if_false, fall_through);
+ Split(eq, if_true, if_false, fall_through, cr0);
context()->Plug(if_true, if_false);
}
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698