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 |