Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 959fe67d48f4b5219c49650befa1ef7e5ad94e0a..d228f2956a6c99625693663a4a2bc64ee15ec2a8 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -971,7 +971,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); |
@@ -985,7 +984,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); |
@@ -1001,7 +999,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ MovFromFloatResult(double_result); |
__ bind(&done); |
- __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2); |
__ Ret(); |
} |
} |