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

Side by Side Diff: src/parsing/parser.h

Issue 2427933002: Remove unused parsing related histograms. (Closed)
Patch Set: oops Created 4 years, 2 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/counters.h ('k') | src/parsing/parser.cc » ('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_PARSING_PARSER_H_ 5 #ifndef V8_PARSING_PARSER_H_
6 #define V8_PARSING_PARSER_H_ 6 #define V8_PARSING_PARSER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/base/compiler-specific.h" 10 #include "src/base/compiler-specific.h"
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 1092
1093 ScriptCompiler::CompileOptions compile_options_; 1093 ScriptCompiler::CompileOptions compile_options_;
1094 ParseData* cached_parse_data_; 1094 ParseData* cached_parse_data_;
1095 1095
1096 PendingCompilationErrorHandler pending_error_handler_; 1096 PendingCompilationErrorHandler pending_error_handler_;
1097 1097
1098 // Other information which will be stored in Parser and moved to Isolate after 1098 // Other information which will be stored in Parser and moved to Isolate after
1099 // parsing. 1099 // parsing.
1100 int use_counts_[v8::Isolate::kUseCounterFeatureCount]; 1100 int use_counts_[v8::Isolate::kUseCounterFeatureCount];
1101 int total_preparse_skipped_; 1101 int total_preparse_skipped_;
1102 HistogramTimer* pre_parse_timer_;
1103 1102
1104 bool parsing_on_main_thread_; 1103 bool parsing_on_main_thread_;
1105 }; 1104 };
1106 1105
1107 // ---------------------------------------------------------------------------- 1106 // ----------------------------------------------------------------------------
1108 // Target is a support class to facilitate manipulation of the 1107 // Target is a support class to facilitate manipulation of the
1109 // Parser's target_stack_ (the stack of potential 'break' and 1108 // Parser's target_stack_ (the stack of potential 'break' and
1110 // 'continue' statement targets). Upon construction, a new target is 1109 // 'continue' statement targets). Upon construction, a new target is
1111 // added; it is removed upon destruction. 1110 // added; it is removed upon destruction.
1112 1111
(...skipping 29 matching lines...) Expand all
1142 1141
1143 private: 1142 private:
1144 ParserTarget** variable_; 1143 ParserTarget** variable_;
1145 ParserTarget* previous_; 1144 ParserTarget* previous_;
1146 }; 1145 };
1147 1146
1148 } // namespace internal 1147 } // namespace internal
1149 } // namespace v8 1148 } // namespace v8
1150 1149
1151 #endif // V8_PARSING_PARSER_H_ 1150 #endif // V8_PARSING_PARSER_H_
OLDNEW
« no previous file with comments | « src/counters.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698