Chromium Code Reviews| Index: src/parser.cc | 
| =================================================================== | 
| --- src/parser.cc (revision 9109) | 
| +++ src/parser.cc (working copy) | 
| @@ -3788,7 +3788,7 @@ | 
| // future we can change the AST to only refer to VariableProxies | 
| // instead of Variables and Proxis as is the case now. | 
| if (type == FunctionLiteral::NAMED_EXPRESSION) { | 
| - Variable* fvar = top_scope_->DeclareFunctionVar(function_name); | 
| + Variable* fvar = top_scope_->DeclareFunctionVar(function_name)->var(); | 
| 
 
Kevin Millikin (Chromium)
2011/09/01 15:40:58
You could keep DeclareFunctionVar returning a Vari
 
fschneider
2011/09/01 16:28:21
Done.
 
 | 
| VariableProxy* fproxy = | 
| top_scope_->NewUnresolved(function_name, inside_with()); | 
| fproxy->BindTo(fvar); |