OLD | NEW |
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_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 V(int, pending_microtask_count, 0) \ | 378 V(int, pending_microtask_count, 0) \ |
379 V(bool, autorun_microtasks, true) \ | 379 V(bool, autorun_microtasks, true) \ |
380 V(HStatistics*, hstatistics, NULL) \ | 380 V(HStatistics*, hstatistics, NULL) \ |
381 V(CompilationStatistics*, turbo_statistics, NULL) \ | 381 V(CompilationStatistics*, turbo_statistics, NULL) \ |
382 V(HTracer*, htracer, NULL) \ | 382 V(HTracer*, htracer, NULL) \ |
383 V(CodeTracer*, code_tracer, NULL) \ | 383 V(CodeTracer*, code_tracer, NULL) \ |
384 V(bool, fp_stubs_generated, false) \ | 384 V(bool, fp_stubs_generated, false) \ |
385 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ | 385 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ |
386 V(PromiseRejectCallback, promise_reject_callback, NULL) \ | 386 V(PromiseRejectCallback, promise_reject_callback, NULL) \ |
387 V(const v8::StartupData*, snapshot_blob, NULL) \ | 387 V(const v8::StartupData*, snapshot_blob, NULL) \ |
| 388 V(bool, creating_default_snapshot, false) \ |
388 ISOLATE_INIT_SIMULATOR_LIST(V) | 389 ISOLATE_INIT_SIMULATOR_LIST(V) |
389 | 390 |
390 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ | 391 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ |
391 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ | 392 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ |
392 inline type name() const { return thread_local_top_.name##_; } | 393 inline type name() const { return thread_local_top_.name##_; } |
393 | 394 |
394 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ | 395 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ |
395 type* name##_address() { return &thread_local_top_.name##_; } | 396 type* name##_address() { return &thread_local_top_.name##_; } |
396 | 397 |
397 | 398 |
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1601 } | 1602 } |
1602 | 1603 |
1603 EmbeddedVector<char, 128> filename_; | 1604 EmbeddedVector<char, 128> filename_; |
1604 FILE* file_; | 1605 FILE* file_; |
1605 int scope_depth_; | 1606 int scope_depth_; |
1606 }; | 1607 }; |
1607 | 1608 |
1608 } } // namespace v8::internal | 1609 } } // namespace v8::internal |
1609 | 1610 |
1610 #endif // V8_ISOLATE_H_ | 1611 #endif // V8_ISOLATE_H_ |
OLD | NEW |