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

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

Issue 1415143004: PPC: Fix "Bailout for large object allocations in full code EmitFastOneByteArrayJoin." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/full-codegen/ppc/full-codegen-ppc.cc
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
index 32993e0299c939618b9af04fad3df0bb0b34bff1..ad401de848efdba14cde58432a43e7e33c663ccf 100644
--- a/src/full-codegen/ppc/full-codegen-ppc.cc
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc
@@ -4174,7 +4174,7 @@ void FullCodeGenerator::EmitFastOneByteArrayJoin(CallRuntime* expr) {
__ SmiUntag(string_length);
// Bailout for large object allocations.
- __ cmpi(string_length, Operand(Page::kMaxRegularHeapObjectSize));
+ __ Cmpi(string_length, Operand(Page::kMaxRegularHeapObjectSize), r0);
__ bgt(&bailout);
// Get first element in the array to free up the elements register to be used
« 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