Index: runtime/vm/assembler_macros_ia32.cc |
diff --git a/runtime/vm/assembler_macros_ia32.cc b/runtime/vm/assembler_macros_ia32.cc |
index 9135725575c9310fb41ff3be88665ede1e4645fc..58cf70971b48eba9442d67a05df906332c309db8 100644 |
--- a/runtime/vm/assembler_macros_ia32.cc |
+++ b/runtime/vm/assembler_macros_ia32.cc |
@@ -19,6 +19,7 @@ DECLARE_FLAG(bool, inline_alloc); |
void AssemblerMacros::TryAllocate(Assembler* assembler, |
const Class& cls, |
Label* failure, |
+ bool near_jump, |
Register instance_reg) { |
ASSERT(failure != NULL); |
if (FLAG_inline_alloc) { |
@@ -28,7 +29,7 @@ void AssemblerMacros::TryAllocate(Assembler* assembler, |
__ addl(instance_reg, Immediate(instance_size)); |
// instance_reg: potential next object start. |
__ cmpl(instance_reg, Address::Absolute(heap->EndAddress())); |
- __ j(ABOVE_EQUAL, failure, Assembler::kNearJump); |
+ __ j(ABOVE_EQUAL, failure, near_jump); |
// Successfully allocated the object, now update top to point to |
// next object start and store the class in the class field of object. |
__ movl(Address::Absolute(heap->TopAddress()), instance_reg); |