Index: src/x64/codegen-x64.h |
=================================================================== |
--- src/x64/codegen-x64.h (revision 2772) |
+++ src/x64/codegen-x64.h (working copy) |
@@ -481,6 +481,14 @@ |
void CallWithArguments(ZoneList<Expression*>* arguments, int position); |
+ // Use an optimized version of Function.prototype.apply that avoid |
+ // allocating the arguments object and just copies the arguments |
+ // from the stack. |
+ void CallApplyLazy(Property* apply, |
+ Expression* receiver, |
+ VariableProxy* arguments, |
+ int position); |
+ |
void CheckStack(); |
struct InlineRuntimeLUT { |