Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 0986fe8222b7f8e25951122af213f2fa4ac06b85..d524d8467474d931276322588842ff13e3b8ba5f 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -123,6 +123,18 @@ class MacroAssembler: public Assembler { |
void CallDeoptimizer(Address target); |
static int CallDeoptimizerSize(); |
+ // Emit code that loads |parameter_index|'th parameter from the stack to |
+ // the register according to the CallInterfaceDescriptor definition. |
+ // |sp_to_caller_sp_offset_in_words| specifies the number of words pushed |
+ // below the caller's sp. |
+ template <class Descriptor> |
+ void LoadParameterFromStack( |
+ Register reg, typename Descriptor::ParameterIndices parameter_index, |
+ int sp_to_ra_offset_in_words = 0) { |
+ DCHECK(Descriptor::kPassLastArgsOnStack); |
+ UNIMPLEMENTED(); |
+ } |
+ |
// Emit code to discard a non-negative number of pointer-sized elements |
// from the stack, clobbering only the sp register. |
void Drop(int count, Condition cond = al); |