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

Side by Side Diff: src/ast.h

Issue 885813002: Minor refactoring for Zone class and friends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « BUILD.gn ('k') | src/bit-vector.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 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_AST_H_ 5 #ifndef V8_AST_H_
6 #define V8_AST_H_ 6 #define V8_AST_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
11 #include "src/ast-value-factory.h" 11 #include "src/ast-value-factory.h"
12 #include "src/bailout-reason.h" 12 #include "src/bailout-reason.h"
13 #include "src/factory.h" 13 #include "src/factory.h"
14 #include "src/interface.h" 14 #include "src/interface.h"
15 #include "src/isolate.h" 15 #include "src/isolate.h"
16 #include "src/jsregexp.h" 16 #include "src/jsregexp.h"
17 #include "src/list-inl.h" 17 #include "src/list-inl.h"
18 #include "src/runtime/runtime.h" 18 #include "src/runtime/runtime.h"
19 #include "src/small-pointer-list.h" 19 #include "src/small-pointer-list.h"
20 #include "src/smart-pointers.h" 20 #include "src/smart-pointers.h"
21 #include "src/token.h" 21 #include "src/token.h"
22 #include "src/types.h" 22 #include "src/types.h"
23 #include "src/utils.h" 23 #include "src/utils.h"
24 #include "src/variables.h" 24 #include "src/variables.h"
25 #include "src/zone-inl.h"
26 25
27 namespace v8 { 26 namespace v8 {
28 namespace internal { 27 namespace internal {
29 28
30 // The abstract syntax tree is an intermediate, light-weight 29 // The abstract syntax tree is an intermediate, light-weight
31 // representation of the parsed JavaScript code suitable for 30 // representation of the parsed JavaScript code suitable for
32 // compilation to native code. 31 // compilation to native code.
33 32
34 // Nodes are allocated in a separate zone, which allows faster 33 // Nodes are allocated in a separate zone, which allows faster
35 // allocation and constant-time deallocation of the entire syntax 34 // allocation and constant-time deallocation of the entire syntax
(...skipping 3513 matching lines...) Expand 10 before | Expand all | Expand 10 after
3549 3548
3550 private: 3549 private:
3551 Zone* zone_; 3550 Zone* zone_;
3552 AstValueFactory* ast_value_factory_; 3551 AstValueFactory* ast_value_factory_;
3553 }; 3552 };
3554 3553
3555 3554
3556 } } // namespace v8::internal 3555 } } // namespace v8::internal
3557 3556
3558 #endif // V8_AST_H_ 3557 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/bit-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698