| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index ce1741a623aedff69862ad80b8f259eb157ddf21..ee327fb79f7dee73aebd932cc092e373e13ba055 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -437,8 +437,8 @@ Variable* Scope::LookupFunctionVar(Handle<String> name,
|
| this, name, mode, true /* is valid LHS */,
|
| Variable::NORMAL, kCreatedInitialized);
|
| VariableProxy* proxy = factory->NewVariableProxy(var);
|
| - VariableDeclaration* declaration =
|
| - factory->NewVariableDeclaration(proxy, mode, this);
|
| + VariableDeclaration* declaration = factory->NewVariableDeclaration(
|
| + proxy, mode, this, RelocInfo::kNoPosition);
|
| DeclareFunctionVar(declaration);
|
| var->AllocateTo(Variable::CONTEXT, index);
|
| return var;
|
|
|