| 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 00294e3062b2ef6ea08f23b40a7835ae80d1d084..c3a15c6963efa0aada721e00289dd787bb6de2d6 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -3696,11 +3696,11 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| __ b(&stub_call);
|
| __ bind(&slow);
|
| }
|
| - if (!is_strong(language_mode())) {
|
| - ToNumberStub convert_stub(isolate());
|
| - __ CallStub(&convert_stub);
|
| - PrepareForBailoutForId(expr->ToNumberId(), TOS_REG);
|
| - }
|
| +
|
| + // Convert old value into a number.
|
| + ToNumberStub convert_stub(isolate());
|
| + __ CallStub(&convert_stub);
|
| + PrepareForBailoutForId(expr->ToNumberId(), TOS_REG);
|
|
|
| // Save result for postfix expressions.
|
| if (expr->is_postfix()) {
|
| @@ -3739,9 +3739,6 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| patch_site.EmitPatchInfo();
|
| __ bind(&done);
|
|
|
| - if (is_strong(language_mode())) {
|
| - PrepareForBailoutForId(expr->ToNumberId(), TOS_REG);
|
| - }
|
| // Store the value returned in r3.
|
| switch (assign_type) {
|
| case VARIABLE:
|
|
|