| Index: src/scopes.cc
|
| ===================================================================
|
| --- src/scopes.cc (revision 7468)
|
| +++ src/scopes.cc (working copy)
|
| @@ -361,12 +361,14 @@
|
| }
|
|
|
|
|
| -VariableProxy* Scope::NewUnresolved(Handle<String> name, bool inside_with) {
|
| +VariableProxy* Scope::NewUnresolved(Handle<String> name,
|
| + bool inside_with,
|
| + int position) {
|
| // Note that we must not share the unresolved variables with
|
| // the same name because they may be removed selectively via
|
| // RemoveUnresolved().
|
| ASSERT(!resolved());
|
| - VariableProxy* proxy = new VariableProxy(name, false, inside_with);
|
| + VariableProxy* proxy = new VariableProxy(name, false, inside_with, position);
|
| unresolved_.Add(proxy);
|
| return proxy;
|
| }
|
|
|