OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_SCOPES_H_ | 5 #ifndef V8_SCOPES_H_ |
6 #define V8_SCOPES_H_ | 6 #define V8_SCOPES_H_ |
7 | 7 |
8 #include "ast.h" | 8 #include "src/ast.h" |
9 #include "zone.h" | 9 #include "src/zone.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class CompilationInfo; | 14 class CompilationInfo; |
15 | 15 |
16 | 16 |
17 // A hash map to support fast variable declaration and lookup. | 17 // A hash map to support fast variable declaration and lookup. |
18 class VariableMap: public ZoneHashMap { | 18 class VariableMap: public ZoneHashMap { |
19 public: | 19 public: |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 void SetDefaults(ScopeType type, | 607 void SetDefaults(ScopeType type, |
608 Scope* outer_scope, | 608 Scope* outer_scope, |
609 Handle<ScopeInfo> scope_info); | 609 Handle<ScopeInfo> scope_info); |
610 | 610 |
611 Zone* zone_; | 611 Zone* zone_; |
612 }; | 612 }; |
613 | 613 |
614 } } // namespace v8::internal | 614 } } // namespace v8::internal |
615 | 615 |
616 #endif // V8_SCOPES_H_ | 616 #endif // V8_SCOPES_H_ |
OLD | NEW |