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

Side by Side Diff: src/ast-literal-reindexer.h

Issue 1282503003: Remove several grab-bag includes from the v8.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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.h ('k') | src/basic-block-profiler.h » ('j') | src/v8.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_LITERAL_REINDEXER 5 #ifndef V8_AST_LITERAL_REINDEXER
6 #define V8_AST_LITERAL_REINDEXER 6 #define V8_AST_LITERAL_REINDEXER
7 7
8 #include "src/v8.h"
9
10 #include "src/ast.h" 8 #include "src/ast.h"
11 #include "src/scopes.h" 9 #include "src/scopes.h"
12 10
13 namespace v8 { 11 namespace v8 {
14 namespace internal { 12 namespace internal {
15 13
16 class AstLiteralReindexer final : public AstVisitor { 14 class AstLiteralReindexer final : public AstVisitor {
17 public: 15 public:
18 AstLiteralReindexer() : AstVisitor(), next_index_(0) {} 16 AstLiteralReindexer() : AstVisitor(), next_index_(0) {}
19 17
(...skipping 17 matching lines...) Expand all
37 void Visit(AstNode* node) override { node->Accept(this); } 35 void Visit(AstNode* node) override { node->Accept(this); }
38 36
39 int next_index_; 37 int next_index_;
40 38
41 DISALLOW_COPY_AND_ASSIGN(AstLiteralReindexer); 39 DISALLOW_COPY_AND_ASSIGN(AstLiteralReindexer);
42 }; 40 };
43 } 41 }
44 } // namespace v8::internal 42 } // namespace v8::internal
45 43
46 #endif // V8_AST_LITERAL_REINDEXER 44 #endif // V8_AST_LITERAL_REINDEXER
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/basic-block-profiler.h » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698