Index: src/mips64/macro-assembler-mips64.h |
diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h |
index c96525c6aed24a5cd553587ee5a64ee99265fc44..4f67d70e0c1d0a1607da2b02979d4c06490cb53d 100644 |
--- a/src/mips64/macro-assembler-mips64.h |
+++ b/src/mips64/macro-assembler-mips64.h |
@@ -243,6 +243,18 @@ class MacroAssembler: public Assembler { |
Func GetLabelFunction); |
#undef COND_ARGS |
+ // 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, |