Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index e7d3523763d26357e1f858689362785229bd5138..726c077d678905d4c73946c339dcb7fb6334bf5e 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -2056,7 +2056,7 @@ void CallICStub::HandleArrayCase(MacroAssembler* masm, Label* miss) { |
// Increment the call count for monomorphic function calls. |
__ Lsa(at, a2, a3, kPointerSizeLog2 - kSmiTagSize); |
__ lw(a3, FieldMemOperand(at, FixedArray::kHeaderSize + kPointerSize)); |
- __ Addu(a3, a3, Operand(Smi::FromInt(CallICNexus::kCallCountIncrement))); |
+ __ Addu(a3, a3, Operand(Smi::FromInt(1))); |
__ sw(a3, FieldMemOperand(at, FixedArray::kHeaderSize + kPointerSize)); |
__ mov(a2, t0); |
@@ -2102,7 +2102,7 @@ void CallICStub::Generate(MacroAssembler* masm) { |
// Increment the call count for monomorphic function calls. |
__ Lsa(at, a2, a3, kPointerSizeLog2 - kSmiTagSize); |
__ lw(a3, FieldMemOperand(at, FixedArray::kHeaderSize + kPointerSize)); |
- __ Addu(a3, a3, Operand(Smi::FromInt(CallICNexus::kCallCountIncrement))); |
+ __ Addu(a3, a3, Operand(Smi::FromInt(1))); |
__ sw(a3, FieldMemOperand(at, FixedArray::kHeaderSize + kPointerSize)); |
__ bind(&call_function); |
@@ -2173,7 +2173,7 @@ void CallICStub::Generate(MacroAssembler* masm) { |
// Initialize the call counter. |
__ Lsa(at, a2, a3, kPointerSizeLog2 - kSmiTagSize); |
- __ li(t0, Operand(Smi::FromInt(CallICNexus::kCallCountIncrement))); |
+ __ li(t0, Operand(Smi::FromInt(1))); |
__ sw(t0, FieldMemOperand(at, FixedArray::kHeaderSize + kPointerSize)); |
// Store the function. Use a stub since we need a frame for allocation. |