Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index c11902886c55cf05c4629b25b8ba2911b38d79cf..2cf163a707ff5e9c0c42aa0075c5a8878cc6677a 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -149,6 +149,9 @@ class MacroAssembler: public Assembler { |
const ParameterCount& actual, |
InvokeFlag flag); |
+ void InvokeFunction(JSFunction* function, |
+ const ParameterCount& actual); |
+ |
// Invoke specified builtin JavaScript function. Adds an entry to |
// the unresolved list if the name does not resolve. |
void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); |
@@ -644,6 +647,10 @@ class MacroAssembler: public Assembler { |
// Convenience function: Same as above, but takes the fid instead. |
void CallRuntime(Runtime::FunctionId id, 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 arguments. |