Chromium Code Reviews| Index: src/compiler/ast-graph-builder.h |
| diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
| index dfa4b93e59a5d4c944a8323d555e21bd3f235017..5979197957ab454413392e7744b6449fd3a0b972 100644 |
| --- a/src/compiler/ast-graph-builder.h |
| +++ b/src/compiler/ast-graph-builder.h |
| @@ -126,7 +126,7 @@ class AstGraphBuilder : public StructuredGraphBuilder, public AstVisitor { |
| JSGraph* jsgraph_; |
| // List of global declarations for functions and variables. |
| - ZoneList<Handle<Object> > globals_; |
| + ZoneVector<Handle<Object> > globals_; |
|
titzer
2014/11/18 16:24:33
With C++ I think we can get rid of this annoying s
Michael Starzinger
2014/11/18 17:21:39
Done.
|
| // Stack of breakable statements entered by the visitor. |
| BreakableScope* breakable_; |
| @@ -145,7 +145,7 @@ class AstGraphBuilder : public StructuredGraphBuilder, public AstVisitor { |
| inline StrictMode strict_mode() const; |
| JSGraph* jsgraph() { return jsgraph_; } |
| JSOperatorBuilder* javascript() { return jsgraph_->javascript(); } |
| - ZoneList<Handle<Object> >* globals() { return &globals_; } |
| + ZoneVector<Handle<Object> >* globals() { return &globals_; } |
| // Current scope during visitation. |
| inline Scope* current_scope() const; |