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

Side by Side Diff: src/bootstrapper.h

Issue 1899133004: [Interpreter] Add Ignition statistics JavaScript extension. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 7 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/assembler.cc ('k') | src/bootstrapper.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_BOOTSTRAPPER_H_ 5 #ifndef V8_BOOTSTRAPPER_H_
6 #define V8_BOOTSTRAPPER_H_ 6 #define V8_BOOTSTRAPPER_H_
7 7
8 #include "src/factory.h" 8 #include "src/factory.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 friend class Isolate; 129 friend class Isolate;
130 friend class NativesExternalStringResource; 130 friend class NativesExternalStringResource;
131 131
132 explicit Bootstrapper(Isolate* isolate); 132 explicit Bootstrapper(Isolate* isolate);
133 133
134 static v8::Extension* free_buffer_extension_; 134 static v8::Extension* free_buffer_extension_;
135 static v8::Extension* gc_extension_; 135 static v8::Extension* gc_extension_;
136 static v8::Extension* externalize_string_extension_; 136 static v8::Extension* externalize_string_extension_;
137 static v8::Extension* statistics_extension_; 137 static v8::Extension* statistics_extension_;
138 static v8::Extension* trigger_failure_extension_; 138 static v8::Extension* trigger_failure_extension_;
139 static v8::Extension* ignition_statistics_extension_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(Bootstrapper); 141 DISALLOW_COPY_AND_ASSIGN(Bootstrapper);
141 }; 142 };
142 143
143 144
144 class BootstrapperActive final BASE_EMBEDDED { 145 class BootstrapperActive final BASE_EMBEDDED {
145 public: 146 public:
146 explicit BootstrapperActive(Bootstrapper* bootstrapper) 147 explicit BootstrapperActive(Bootstrapper* bootstrapper)
147 : bootstrapper_(bootstrapper) { 148 : bootstrapper_(bootstrapper) {
148 ++bootstrapper_->nesting_; 149 ++bootstrapper_->nesting_;
(...skipping 20 matching lines...) Expand all
169 170
170 private: 171 private:
171 const char* data_; 172 const char* data_;
172 size_t length_; 173 size_t length_;
173 }; 174 };
174 175
175 } // namespace internal 176 } // namespace internal
176 } // namespace v8 177 } // namespace v8
177 178
178 #endif // V8_BOOTSTRAPPER_H_ 179 #endif // V8_BOOTSTRAPPER_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698