| Index: src/ast/scopes.cc
|
| diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc
|
| index cf5dd29b66ed448d6c59891996749a08eed92eb2..1eda493d6e5d7880e709824e659c4958319a2cca 100644
|
| --- a/src/ast/scopes.cc
|
| +++ b/src/ast/scopes.cc
|
| @@ -1154,13 +1154,7 @@
|
| // - Variables must not be allocated to the global scope.
|
| CHECK_NOT_NULL(outer_scope());
|
| // - Variables must be bound locally or unallocated.
|
| - if (BOUND != binding_kind) {
|
| - // The following variable name may be minified. If so, disable
|
| - // minification in js2c.py for better output.
|
| - Handle<String> name = proxy->raw_name()->string();
|
| - V8_Fatal(__FILE__, __LINE__, "Unbound variable: '%s' in native script.",
|
| - name->ToCString().get());
|
| - }
|
| + CHECK_EQ(BOUND, binding_kind);
|
| VariableLocation location = var->location();
|
| CHECK(location == VariableLocation::LOCAL ||
|
| location == VariableLocation::CONTEXT ||
|
|
|