| 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 V(int, pending_microtask_count, 0) \ | 380 V(int, pending_microtask_count, 0) \ |
| 381 V(bool, autorun_microtasks, true) \ | 381 V(bool, autorun_microtasks, true) \ |
| 382 V(HStatistics*, hstatistics, NULL) \ | 382 V(HStatistics*, hstatistics, NULL) \ |
| 383 V(CompilationStatistics*, turbo_statistics, NULL) \ | 383 V(CompilationStatistics*, turbo_statistics, NULL) \ |
| 384 V(HTracer*, htracer, NULL) \ | 384 V(HTracer*, htracer, NULL) \ |
| 385 V(CodeTracer*, code_tracer, NULL) \ | 385 V(CodeTracer*, code_tracer, NULL) \ |
| 386 V(bool, fp_stubs_generated, false) \ | 386 V(bool, fp_stubs_generated, false) \ |
| 387 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ | 387 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ |
| 388 V(PromiseRejectCallback, promise_reject_callback, NULL) \ | 388 V(PromiseRejectCallback, promise_reject_callback, NULL) \ |
| 389 V(const v8::StartupData*, snapshot_blob, NULL) \ | 389 V(const v8::StartupData*, snapshot_blob, NULL) \ |
| 390 V(JavascriptExecutionObserver*, execution_observer, NULL) \ |
| 390 ISOLATE_INIT_SIMULATOR_LIST(V) | 391 ISOLATE_INIT_SIMULATOR_LIST(V) |
| 391 | 392 |
| 392 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ | 393 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ |
| 393 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ | 394 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ |
| 394 inline type name() const { return thread_local_top_.name##_; } | 395 inline type name() const { return thread_local_top_.name##_; } |
| 395 | 396 |
| 396 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ | 397 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ |
| 397 type* name##_address() { return &thread_local_top_.name##_; } | 398 type* name##_address() { return &thread_local_top_.name##_; } |
| 398 | 399 |
| 399 | 400 |
| (...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1565 | 1566 |
| 1566 EmbeddedVector<char, 128> filename_; | 1567 EmbeddedVector<char, 128> filename_; |
| 1567 FILE* file_; | 1568 FILE* file_; |
| 1568 int scope_depth_; | 1569 int scope_depth_; |
| 1569 }; | 1570 }; |
| 1570 | 1571 |
| 1571 } // namespace internal | 1572 } // namespace internal |
| 1572 } // namespace v8 | 1573 } // namespace v8 |
| 1573 | 1574 |
| 1574 #endif // V8_ISOLATE_H_ | 1575 #endif // V8_ISOLATE_H_ |
| OLD | NEW |