Index: runtime/vm/stub_code_ia32.cc |
diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc |
index 5e83dd650ea6ac97b7d793d76146e2b869c715af..9d696b396ec98d3ae282c14074e73dc4681b38a3 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(cls.id(), EDI); |
if (is_cls_parameterized) { |
// Initialize the type arguments field in the object. |