Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/ast/variables.h

Issue 2344143003: Moved zones and zone related stuff in its own directory. (Closed)
Patch Set: Merge branch 'master' into zonefolder Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ast/scopes.h ('k') | src/base/accounting-allocator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_AST_VARIABLES_H_ 5 #ifndef V8_AST_VARIABLES_H_
6 #define V8_AST_VARIABLES_H_ 6 #define V8_AST_VARIABLES_H_
7 7
8 #include "src/ast/ast-value-factory.h" 8 #include "src/ast/ast-value-factory.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/zone.h" 10 #include "src/zone/zone.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // The AST refers to variables via VariableProxies - placeholders for the actual 15 // The AST refers to variables via VariableProxies - placeholders for the actual
16 // variables. Variables themselves are never directly referred to from the AST, 16 // variables. Variables themselves are never directly referred to from the AST,
17 // they are maintained by scopes, and referred to from VariableProxies and Slots 17 // they are maintained by scopes, and referred to from VariableProxies and Slots
18 // after binding and variable allocation. 18 // after binding and variable allocation.
19 class Variable final : public ZoneObject { 19 class Variable final : public ZoneObject {
20 public: 20 public:
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 class InitializationFlagField 145 class InitializationFlagField
146 : public BitField16<InitializationFlag, IsUsedField::kNext, 2> {}; 146 : public BitField16<InitializationFlag, IsUsedField::kNext, 2> {};
147 class MaybeAssignedFlagField 147 class MaybeAssignedFlagField
148 : public BitField16<MaybeAssignedFlag, InitializationFlagField::kNext, 148 : public BitField16<MaybeAssignedFlag, InitializationFlagField::kNext,
149 2> {}; 149 2> {};
150 }; 150 };
151 } // namespace internal 151 } // namespace internal
152 } // namespace v8 152 } // namespace v8
153 153
154 #endif // V8_AST_VARIABLES_H_ 154 #endif // V8_AST_VARIABLES_H_
OLDNEW
« no previous file with comments | « src/ast/scopes.h ('k') | src/base/accounting-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698