| Index: src/scopeinfo.cc
|
| diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc
|
| index 787e647267258edc8019d2a07229f9ea1125bff8..c66ab46c8abbf912508bea087a36c2c1cc7dd297 100644
|
| --- a/src/scopeinfo.cc
|
| +++ b/src/scopeinfo.cc
|
| @@ -14,6 +14,8 @@ namespace internal {
|
|
|
|
|
| Handle<ScopeInfo> ScopeInfo::Create(Scope* scope, Zone* zone) {
|
| + ASSERT(!scope->is_script_scope());
|
| +
|
| // Collect stack and context locals.
|
| ZoneList<Variable*> stack_locals(scope->StackLocalCount(), zone);
|
| ZoneList<Variable*> context_locals(scope->ContextLocalCount(), zone);
|
|
|