Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 6357ee35bd65d225b952d20deafaad4586543bfe..2b37b04485d411206767a0342edff8e0e5fba06e 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -895,7 +895,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ vcvt_f64_s32(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); |
@@ -909,7 +908,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ vstr(double_result, |
FieldMemOperand(heapnumber, HeapNumber::kValueOffset)); |
DCHECK(heapnumber.is(r0)); |
- __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2); |
__ Ret(2); |
} else { |
__ push(lr); |
@@ -925,7 +923,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ MovFromFloatResult(double_result); |
__ bind(&done); |
- __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2); |
__ Ret(); |
} |
} |