Index: runtime/vm/stub_code_mips.cc |
diff --git a/runtime/vm/stub_code_mips.cc b/runtime/vm/stub_code_mips.cc |
index ed6a0f3745be69376659dae3e5901a1b85b5c5d9..87f5c486a6c84bcd395ad64e4d67ab04a9d9fd58 100644 |
--- a/runtime/vm/stub_code_mips.cc |
+++ b/runtime/vm/stub_code_mips.cc |
@@ -1361,6 +1361,7 @@ void StubCode::GenerateAllocationStubForClass(Assembler* assembler, |
// Set the type arguments in the new object. |
__ sw(T1, Address(T2, cls.type_arguments_field_offset())); |
} |
+ __ BumpAllocationCount(Heap::kNew, cls.id(), T5); |
// Done allocating and initializing the instance. |
// T2: new object still missing its heap tag. |
__ Ret(); |