Index: src/x64/virtual-frame-x64.h |
diff --git a/src/x64/virtual-frame-x64.h b/src/x64/virtual-frame-x64.h |
index 15653edb81ac084a2d28ab15ca5fd3cc11df6ecf..eba904770acdedbf3f08f3264f320bd6c5628d1d 100644 |
--- a/src/x64/virtual-frame-x64.h |
+++ b/src/x64/virtual-frame-x64.h |
@@ -318,6 +318,10 @@ class VirtualFrame : public ZoneObject { |
// arguments are consumed by the call. |
Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); |
+ // Call JS function from top of the stack with arguments |
+ // taken from the stack. |
+ Result CallJSFunction(int arg_count); |
+ |
// Call runtime given the number of arguments expected on (and |
// removed from) the stack. |
Result CallRuntime(Runtime::Function* f, int arg_count); |