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

Side by Side Diff: src/parser.h

Issue 742433002: Use ZoneVector instead of ZoneList in the graph builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-operator-counts
Patch Set: Remove pesky space. Created 6 years, 1 month 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/compiler/control-builders.cc ('k') | no next file » | 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_PARSER_H_ 5 #ifndef V8_PARSER_H_
6 #define V8_PARSER_H_ 6 #define V8_PARSER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/compiler.h" // For CachedDataMode 10 #include "src/compiler.h" // For CachedDataMode
11 #include "src/preparse-data.h" 11 #include "src/preparse-data.h"
12 #include "src/preparse-data-format.h" 12 #include "src/preparse-data-format.h"
13 #include "src/preparser.h" 13 #include "src/preparser.h"
14 #include "src/scopes.h" 14 #include "src/scopes.h"
15 15
16 namespace v8 { 16 namespace v8 {
17 class ScriptCompiler; 17 class ScriptCompiler;
18 18
19 namespace internal { 19 namespace internal {
20 20
21 class CompilationInfo; 21 class CompilationInfo;
22 class ParserLog; 22 class ParserLog;
23 class PositionStack; 23 class PositionStack;
24 class Target; 24 class Target;
25 25
26 template <typename T> class ZoneListWrapper;
27
28 26
29 class FunctionEntry BASE_EMBEDDED { 27 class FunctionEntry BASE_EMBEDDED {
30 public: 28 public:
31 enum { 29 enum {
32 kStartPositionIndex, 30 kStartPositionIndex,
33 kEndPositionIndex, 31 kEndPositionIndex,
34 kLiteralCountIndex, 32 kLiteralCountIndex,
35 kPropertyCountIndex, 33 kPropertyCountIndex,
36 kStrictModeIndex, 34 kStrictModeIndex,
37 kSize 35 kSize
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 } 988 }
991 989
992 990
993 Expression* ParserTraits::CloseTemplateLiteral(TemplateLiteralState* state, 991 Expression* ParserTraits::CloseTemplateLiteral(TemplateLiteralState* state,
994 int start, Expression* tag) { 992 int start, Expression* tag) {
995 return parser_->CloseTemplateLiteral(state, start, tag); 993 return parser_->CloseTemplateLiteral(state, start, tag);
996 } 994 }
997 } } // namespace v8::internal 995 } } // namespace v8::internal
998 996
999 #endif // V8_PARSER_H_ 997 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/compiler/control-builders.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698