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