Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 83fb983ed1f5d9b9212c3a7e4a795a54a96d553f..0ae7af6e633eaed4c025c4e3c104adcadce7bfa0 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -96,6 +96,8 @@ void MacroAssembler::Call(Address target, |
RelocInfo::Mode rmode, |
Condition cond, |
TargetAddressStorageMode mode) { |
+ // Check if we have to emit the constant pool before we block it. |
+ MaybeCheckConstPool(); |
// Block constant pool for the call instruction sequence. |
BlockConstPoolScope block_const_pool(this); |
Label start; |
@@ -141,11 +143,8 @@ int MacroAssembler::CallSize(Handle<Code> code, |
return CallSize(reinterpret_cast<Address>(code.location()), rmode, cond); |
} |
- |
-void MacroAssembler::Call(Handle<Code> code, |
- RelocInfo::Mode rmode, |
- TypeFeedbackId ast_id, |
- Condition cond, |
+void MacroAssembler::Call(Handle<Code> code, RelocInfo::Mode rmode, |
+ TypeFeedbackId ast_id, Condition cond, |
TargetAddressStorageMode mode) { |
Label start; |
bind(&start); |