| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index a35fbbffc452b26782e01008e3829d8f7d17062f..eef351c77dec9511020972186df867427ca0d0e0 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -942,7 +942,6 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ ConvertIntToDouble(exponent, double_exponent);
|
|
|
| // Returning or bailing out.
|
| - Counters* counters = isolate()->counters();
|
| if (exponent_type() == ON_STACK) {
|
| // The arguments are still on the stack.
|
| __ bind(&call_runtime);
|
| @@ -956,7 +955,6 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ stfd(double_result,
|
| FieldMemOperand(heapnumber, HeapNumber::kValueOffset));
|
| DCHECK(heapnumber.is(r3));
|
| - __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
|
| __ Ret(2);
|
| } else {
|
| __ mflr(r0);
|
| @@ -973,7 +971,6 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ MovFromFloatResult(double_result);
|
|
|
| __ bind(&done);
|
| - __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
|
| __ Ret();
|
| }
|
| }
|
|
|