Index: runtime/vm/stub_code_ia32.cc |
diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc |
index 49df45c1b5d515be4b3c0bb1cbaf6d07c7798346..f210e72f6d5abd18b7fb96c218abb2297972af59 100644 |
--- a/runtime/vm/stub_code_ia32.cc |
+++ b/runtime/vm/stub_code_ia32.cc |
@@ -1131,12 +1131,13 @@ void StubCode::GenerateAllocationStubForClass(Assembler* assembler, |
if (FLAG_use_slow_path) { |
__ jmp(&slow_case); |
} else { |
- __ j(ABOVE_EQUAL, &slow_case, Assembler::kNearJump); |
+ __ j(ABOVE_EQUAL, &slow_case); |
} |
// Successfully allocated the object(s), now update top to point to |
// next object start and initialize the object. |
__ movl(Address::Absolute(heap->TopAddress()), EBX); |
+ __ BumpAllocationCount(Heap::kNew, cls.id(), EDI); |
if (is_cls_parameterized) { |
// Initialize the type arguments field in the object. |