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 <memory> | 8 #include <memory> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 V(int, code_and_metadata_size, 0) \ | 427 V(int, code_and_metadata_size, 0) \ |
428 V(int, bytecode_and_metadata_size, 0) \ | 428 V(int, bytecode_and_metadata_size, 0) \ |
429 /* true if being profiled. Causes collection of extra compile info. */ \ | 429 /* true if being profiled. Causes collection of extra compile info. */ \ |
430 V(bool, is_profiling, false) \ | 430 V(bool, is_profiling, false) \ |
431 /* true if a trace is being formatted through Error.prepareStackTrace. */ \ | 431 /* true if a trace is being formatted through Error.prepareStackTrace. */ \ |
432 V(bool, formatting_stack_trace, false) \ | 432 V(bool, formatting_stack_trace, false) \ |
433 /* Perform side effect checks on function call and API callbacks. */ \ | 433 /* Perform side effect checks on function call and API callbacks. */ \ |
434 V(bool, needs_side_effect_check, false) \ | 434 V(bool, needs_side_effect_check, false) \ |
435 /* Current code coverage mode */ \ | 435 /* Current code coverage mode */ \ |
436 V(debug::Coverage::Mode, code_coverage_mode, debug::Coverage::kBestEffort) \ | 436 V(debug::Coverage::Mode, code_coverage_mode, debug::Coverage::kBestEffort) \ |
| 437 V(int, last_stack_frame_info_id, 0) \ |
437 ISOLATE_INIT_SIMULATOR_LIST(V) | 438 ISOLATE_INIT_SIMULATOR_LIST(V) |
438 | 439 |
439 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ | 440 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ |
440 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ | 441 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ |
441 inline type name() const { return thread_local_top_.name##_; } | 442 inline type name() const { return thread_local_top_.name##_; } |
442 | 443 |
443 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ | 444 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ |
444 type* name##_address() { return &thread_local_top_.name##_; } | 445 type* name##_address() { return &thread_local_top_.name##_; } |
445 | 446 |
446 | 447 |
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1808 | 1809 |
1809 EmbeddedVector<char, 128> filename_; | 1810 EmbeddedVector<char, 128> filename_; |
1810 FILE* file_; | 1811 FILE* file_; |
1811 int scope_depth_; | 1812 int scope_depth_; |
1812 }; | 1813 }; |
1813 | 1814 |
1814 } // namespace internal | 1815 } // namespace internal |
1815 } // namespace v8 | 1816 } // namespace v8 |
1816 | 1817 |
1817 #endif // V8_ISOLATE_H_ | 1818 #endif // V8_ISOLATE_H_ |
OLD | NEW |