Index: src/scopes.h |
diff --git a/src/scopes.h b/src/scopes.h |
index 72f1e31878efb744ac8d1210f531d1d16b7a0026..9a0f304707aa75c7aa6f6ef641e1a5592ea33880 100644 |
--- a/src/scopes.h |
+++ b/src/scopes.h |
@@ -131,7 +131,7 @@ class Scope: public ZoneObject { |
// Declare the function variable for a function literal. This variable |
// is in an intermediate scope between this function scope and the the |
// outer scope. Only possible for function scopes; at most one variable. |
- Variable* DeclareFunctionVar(Handle<String> name); |
+ Variable* DeclareFunctionVar(Handle<String> name, VariableMode mode); |
// Declare a parameter in this scope. When there are duplicated |
// parameters the rightmost one 'wins'. However, the implementation |