Index: src/scopes.cc |
=================================================================== |
--- src/scopes.cc (revision 3528) |
+++ src/scopes.cc (working copy) |
@@ -236,7 +236,7 @@ |
Variable* Scope::DeclareGlobal(Handle<String> name) { |
ASSERT(is_global_scope()); |
- return variables_.Declare(this, name, Variable::DYNAMIC, true, |
+ return variables_.Declare(this, name, Variable::DYNAMIC_GLOBAL, true, |
Variable::NORMAL); |
} |