Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index c7032bafb162e3d24e84eba83bddea70165a697f..1fcf6ba79006664b1bc8bb4472d845766cda209e 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -102,6 +102,11 @@ bool AreAliased(Register reg1, |
#endif |
+enum TargetAddressStorageMode { |
+ CAN_INLINE_TARGET_ADDRESS, |
+ NEVER_INLINE_TARGET_ADDRESS |
+}; |
+ |
// MacroAssembler implements a collection of frequently used macros. |
class MacroAssembler: public Assembler { |
public: |
@@ -121,7 +126,9 @@ class MacroAssembler: public Assembler { |
static int CallSizeNotPredictableCodeSize(Address target, |
RelocInfo::Mode rmode, |
Condition cond = al); |
- void Call(Address target, RelocInfo::Mode rmode, Condition cond = al); |
+ void Call(Address target, RelocInfo::Mode rmode, |
+ Condition cond = al, |
+ TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); |
int CallSize(Handle<Code> code, |
RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
TypeFeedbackId ast_id = TypeFeedbackId::None(), |
@@ -129,7 +136,8 @@ class MacroAssembler: public Assembler { |
void Call(Handle<Code> code, |
RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
TypeFeedbackId ast_id = TypeFeedbackId::None(), |
- Condition cond = al); |
+ Condition cond = al, |
+ TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); |
void Ret(Condition cond = al); |
// Emit code to discard a non-negative number of pointer-sized elements |