| Index: runtime/vm/stub_code_x64.cc
|
| diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
|
| index 5e0b9af4301aa9587d32747c5b07893668939afe..a92bf73ebfe55c868f383ca43c87d5c532f4a2d5 100644
|
| --- a/runtime/vm/stub_code_x64.cc
|
| +++ b/runtime/vm/stub_code_x64.cc
|
| @@ -1134,6 +1134,7 @@ void StubCode::GenerateAllocationStubForClass(Assembler* assembler,
|
| // next object start and initialize the object.
|
| __ movq(RDI, Immediate(heap->TopAddress()));
|
| __ movq(Address(RDI, 0), RBX);
|
| + __ BumpAllocationCount(Heap::kNew, cls.id());
|
|
|
| if (is_cls_parameterized) {
|
| // Initialize the type arguments field in the object.
|
|
|