Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index b517437fcd3366cc42b7e017e054f02d9070c699..971e67004e321b3906d9002f31a4e20e49b13762 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -2448,10 +2448,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
// r1 - function |
// r3 - slot id (Smi) |
// r2 - vector |
- const int with_types_offset = |
- FixedArray::OffsetOfElementAt(TypeFeedbackVector::kWithTypesIndex); |
- const int generic_offset = |
- FixedArray::OffsetOfElementAt(TypeFeedbackVector::kGenericCountIndex); |
Label extra_checks_or_miss, call, call_function; |
int argc = arg_count(); |
ParameterCount actual(argc); |
@@ -2527,13 +2523,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ add(r4, r2, Operand::PointerOffsetFromSmiKey(r3)); |
__ LoadRoot(ip, Heap::kmegamorphic_symbolRootIndex); |
__ str(ip, FieldMemOperand(r4, FixedArray::kHeaderSize)); |
- // We have to update statistics for runtime profiling. |
- __ ldr(r4, FieldMemOperand(r2, with_types_offset)); |
- __ sub(r4, r4, Operand(Smi::FromInt(1))); |
- __ str(r4, FieldMemOperand(r2, with_types_offset)); |
- __ ldr(r4, FieldMemOperand(r2, generic_offset)); |
- __ add(r4, r4, Operand(Smi::FromInt(1))); |
- __ str(r4, FieldMemOperand(r2, generic_offset)); |
__ bind(&call); |
__ mov(r0, Operand(argc)); |
@@ -2562,11 +2551,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ cmp(r4, ip); |
__ b(ne, &miss); |
- // Update stats. |
- __ ldr(r4, FieldMemOperand(r2, with_types_offset)); |
- __ add(r4, r4, Operand(Smi::FromInt(1))); |
- __ str(r4, FieldMemOperand(r2, with_types_offset)); |
- |
// Initialize the call counter. |
__ Move(r5, Operand(Smi::FromInt(CallICNexus::kCallCountIncrement))); |
__ add(r4, r2, Operand::PointerOffsetFromSmiKey(r3)); |