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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 RuntimeProfiler* runtime_profiler() { return runtime_profiler_; } | 876 RuntimeProfiler* runtime_profiler() { return runtime_profiler_; } |
877 CompilationCache* compilation_cache() { return compilation_cache_; } | 877 CompilationCache* compilation_cache() { return compilation_cache_; } |
878 Logger* logger() { | 878 Logger* logger() { |
879 // Call InitializeLoggingAndCounters() if logging is needed before | 879 // Call InitializeLoggingAndCounters() if logging is needed before |
880 // the isolate is fully initialized. | 880 // the isolate is fully initialized. |
881 DCHECK_NOT_NULL(logger_); | 881 DCHECK_NOT_NULL(logger_); |
882 return logger_; | 882 return logger_; |
883 } | 883 } |
884 StackGuard* stack_guard() { return &stack_guard_; } | 884 StackGuard* stack_guard() { return &stack_guard_; } |
885 Heap* heap() { return &heap_; } | 885 Heap* heap() { return &heap_; } |
886 StatsTable* stats_table(); | |
887 StubCache* load_stub_cache() { return load_stub_cache_; } | 886 StubCache* load_stub_cache() { return load_stub_cache_; } |
888 StubCache* store_stub_cache() { return store_stub_cache_; } | 887 StubCache* store_stub_cache() { return store_stub_cache_; } |
889 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } | 888 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } |
890 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 889 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
891 bool deoptimizer_lazy_throw() const { return deoptimizer_lazy_throw_; } | 890 bool deoptimizer_lazy_throw() const { return deoptimizer_lazy_throw_; } |
892 void set_deoptimizer_lazy_throw(bool value) { | 891 void set_deoptimizer_lazy_throw(bool value) { |
893 deoptimizer_lazy_throw_ = value; | 892 deoptimizer_lazy_throw_ = value; |
894 } | 893 } |
895 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 894 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
896 MaterializedObjectStore* materialized_object_store() { | 895 MaterializedObjectStore* materialized_object_store() { |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 int stack_trace_nesting_level_; | 1428 int stack_trace_nesting_level_; |
1430 StringStream* incomplete_message_; | 1429 StringStream* incomplete_message_; |
1431 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT | 1430 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT |
1432 Bootstrapper* bootstrapper_; | 1431 Bootstrapper* bootstrapper_; |
1433 RuntimeProfiler* runtime_profiler_; | 1432 RuntimeProfiler* runtime_profiler_; |
1434 CompilationCache* compilation_cache_; | 1433 CompilationCache* compilation_cache_; |
1435 std::shared_ptr<Counters> counters_shared_; | 1434 std::shared_ptr<Counters> counters_shared_; |
1436 base::RecursiveMutex break_access_; | 1435 base::RecursiveMutex break_access_; |
1437 Logger* logger_; | 1436 Logger* logger_; |
1438 StackGuard stack_guard_; | 1437 StackGuard stack_guard_; |
1439 StatsTable* stats_table_; | |
1440 StubCache* load_stub_cache_; | 1438 StubCache* load_stub_cache_; |
1441 StubCache* store_stub_cache_; | 1439 StubCache* store_stub_cache_; |
1442 CodeAgingHelper* code_aging_helper_; | 1440 CodeAgingHelper* code_aging_helper_; |
1443 DeoptimizerData* deoptimizer_data_; | 1441 DeoptimizerData* deoptimizer_data_; |
1444 bool deoptimizer_lazy_throw_; | 1442 bool deoptimizer_lazy_throw_; |
1445 MaterializedObjectStore* materialized_object_store_; | 1443 MaterializedObjectStore* materialized_object_store_; |
1446 ThreadLocalTop thread_local_top_; | 1444 ThreadLocalTop thread_local_top_; |
1447 bool capture_stack_trace_for_uncaught_exceptions_; | 1445 bool capture_stack_trace_for_uncaught_exceptions_; |
1448 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1446 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1449 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1447 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 | 1817 |
1820 EmbeddedVector<char, 128> filename_; | 1818 EmbeddedVector<char, 128> filename_; |
1821 FILE* file_; | 1819 FILE* file_; |
1822 int scope_depth_; | 1820 int scope_depth_; |
1823 }; | 1821 }; |
1824 | 1822 |
1825 } // namespace internal | 1823 } // namespace internal |
1826 } // namespace v8 | 1824 } // namespace v8 |
1827 | 1825 |
1828 #endif // V8_ISOLATE_H_ | 1826 #endif // V8_ISOLATE_H_ |
OLD | NEW |