Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index ead99586f7edd0dff3d68ad3efebf25a8aea9865..a25c94f4b7ceb8d04a8244a9b740dba4c436544a 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -83,7 +83,7 @@ class FullCodeGenerator: public AstVisitor { |
scope_(info->scope()), |
nesting_stack_(NULL), |
loop_depth_(0), |
- global_count_(0), |
+ globals_(10), |
context_(NULL), |
bailout_entries_(info->HasDeoptimizationSupport() |
? info->function()->ast_node_count() : 0), |
@@ -781,7 +781,7 @@ class FullCodeGenerator: public AstVisitor { |
Label return_label_; |
NestedStatement* nesting_stack_; |
int loop_depth_; |
- int global_count_; |
+ ZoneList<Handle<Object> > globals_; |
const ExpressionContext* context_; |
ZoneList<BailoutEntry> bailout_entries_; |
ZoneList<BailoutEntry> stack_checks_; |