OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |