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