Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 3ead0757a585a456253436848ef3ac9d785725e3..e672b9dec8d63c0c4b8ad9b8a66589d961d67dd5 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -971,8 +971,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ AllocateHeapNumber(result_tagged, &call_runtime, scratch0, scratch1, |
result_double); |
DCHECK(result_tagged.is(x0)); |
- __ IncrementCounter( |
- isolate()->counters()->math_pow(), 1, scratch0, scratch1); |
__ Ret(); |
} else { |
AllowExternalCallThatCantCauseGC scope(masm); |
@@ -984,8 +982,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
0, 2); |
__ Mov(lr, saved_lr); |
__ Bind(&done); |
- __ IncrementCounter( |
- isolate()->counters()->math_pow(), 1, scratch0, scratch1); |
__ Ret(); |
} |
} |