Index: src/ppc/macro-assembler-ppc.h |
diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h |
index cf9d4b5719b50a1f9aba5e5c04e4d7f65ec78208..ba4d277688b4aceec71f9c5779006c961af0e220 100644 |
--- a/src/ppc/macro-assembler-ppc.h |
+++ b/src/ppc/macro-assembler-ppc.h |
@@ -140,6 +140,18 @@ class MacroAssembler : public Assembler { |
void Ret() { blr(); } |
void Ret(Condition cond, CRegister cr = cr7) { bclr(cond, cr); } |
+ // 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); |