Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index f20eeee63e0cd4197aa0929f6e7b19c61616207c..59920f961d84bc06a3a84e58e296929fc3934cd1 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -135,6 +135,9 @@ class MacroAssembler: public Assembler { |
const ParameterCount& actual, |
InvokeFlag flag); |
+ void InvokeFunction(JSFunction* function, |
+ const ParameterCount& actual); |
+ |
#ifdef ENABLE_DEBUGGER_SUPPORT |
// --------------------------------------------------------------------------- |
@@ -335,6 +338,10 @@ class MacroAssembler: public Assembler { |
// Convenience function: Same as above, but takes the fid instead. |
void CallRuntime(Runtime::FunctionId fid, int num_arguments); |
+ // Convenience function: call an external reference. |
+ void CallExternalReference(const ExternalReference& ext, |
+ int num_arguments); |
+ |
// Tail call of a runtime routine (jump). |
// Like JumpToRuntime, but also takes care of passing the number |
// of parameters. |