Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 51162171a2ba992f1746a411cd65b60f650026f1..46d0e17f5bcc8ce0e73b74669d8d45520268590f 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -973,7 +973,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ cvt_d_w(double_exponent, single_scratch); |
// Returning or bailing out. |
- Counters* counters = isolate()->counters(); |
if (exponent_type() == ON_STACK) { |
// The arguments are still on the stack. |
__ bind(&call_runtime); |
@@ -987,7 +986,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ sdc1(double_result, |
FieldMemOperand(heapnumber, HeapNumber::kValueOffset)); |
DCHECK(heapnumber.is(v0)); |
- __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2); |
__ DropAndRet(2); |
} else { |
__ push(ra); |
@@ -1003,7 +1001,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ MovFromFloatResult(double_result); |
__ bind(&done); |
- __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2); |
__ Ret(); |
} |
} |