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 #include <set> | 10 #include <set> |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 CompilationCache* compilation_cache() { return compilation_cache_; } | 831 CompilationCache* compilation_cache() { return compilation_cache_; } |
832 Logger* logger() { | 832 Logger* logger() { |
833 // Call InitializeLoggingAndCounters() if logging is needed before | 833 // Call InitializeLoggingAndCounters() if logging is needed before |
834 // the isolate is fully initialized. | 834 // the isolate is fully initialized. |
835 DCHECK(logger_ != NULL); | 835 DCHECK(logger_ != NULL); |
836 return logger_; | 836 return logger_; |
837 } | 837 } |
838 StackGuard* stack_guard() { return &stack_guard_; } | 838 StackGuard* stack_guard() { return &stack_guard_; } |
839 Heap* heap() { return &heap_; } | 839 Heap* heap() { return &heap_; } |
840 StatsTable* stats_table(); | 840 StatsTable* stats_table(); |
841 StubCache* stub_cache() { return stub_cache_; } | 841 StubCache* load_stub_cache() { return load_stub_cache_; } |
| 842 StubCache* store_stub_cache() { return store_stub_cache_; } |
842 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } | 843 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } |
843 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 844 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
844 bool deoptimizer_lazy_throw() const { return deoptimizer_lazy_throw_; } | 845 bool deoptimizer_lazy_throw() const { return deoptimizer_lazy_throw_; } |
845 void set_deoptimizer_lazy_throw(bool value) { | 846 void set_deoptimizer_lazy_throw(bool value) { |
846 deoptimizer_lazy_throw_ = value; | 847 deoptimizer_lazy_throw_ = value; |
847 } | 848 } |
848 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 849 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
849 MaterializedObjectStore* materialized_object_store() { | 850 MaterializedObjectStore* materialized_object_store() { |
850 return materialized_object_store_; | 851 return materialized_object_store_; |
851 } | 852 } |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 StringStream* incomplete_message_; | 1271 StringStream* incomplete_message_; |
1271 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT | 1272 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT |
1272 Bootstrapper* bootstrapper_; | 1273 Bootstrapper* bootstrapper_; |
1273 RuntimeProfiler* runtime_profiler_; | 1274 RuntimeProfiler* runtime_profiler_; |
1274 CompilationCache* compilation_cache_; | 1275 CompilationCache* compilation_cache_; |
1275 Counters* counters_; | 1276 Counters* counters_; |
1276 base::RecursiveMutex break_access_; | 1277 base::RecursiveMutex break_access_; |
1277 Logger* logger_; | 1278 Logger* logger_; |
1278 StackGuard stack_guard_; | 1279 StackGuard stack_guard_; |
1279 StatsTable* stats_table_; | 1280 StatsTable* stats_table_; |
1280 StubCache* stub_cache_; | 1281 StubCache* load_stub_cache_; |
| 1282 StubCache* store_stub_cache_; |
1281 CodeAgingHelper* code_aging_helper_; | 1283 CodeAgingHelper* code_aging_helper_; |
1282 DeoptimizerData* deoptimizer_data_; | 1284 DeoptimizerData* deoptimizer_data_; |
1283 bool deoptimizer_lazy_throw_; | 1285 bool deoptimizer_lazy_throw_; |
1284 MaterializedObjectStore* materialized_object_store_; | 1286 MaterializedObjectStore* materialized_object_store_; |
1285 ThreadLocalTop thread_local_top_; | 1287 ThreadLocalTop thread_local_top_; |
1286 bool capture_stack_trace_for_uncaught_exceptions_; | 1288 bool capture_stack_trace_for_uncaught_exceptions_; |
1287 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1289 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1288 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1290 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1289 KeyedLookupCache* keyed_lookup_cache_; | 1291 KeyedLookupCache* keyed_lookup_cache_; |
1290 ContextSlotCache* context_slot_cache_; | 1292 ContextSlotCache* context_slot_cache_; |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1639 | 1641 |
1640 EmbeddedVector<char, 128> filename_; | 1642 EmbeddedVector<char, 128> filename_; |
1641 FILE* file_; | 1643 FILE* file_; |
1642 int scope_depth_; | 1644 int scope_depth_; |
1643 }; | 1645 }; |
1644 | 1646 |
1645 } // namespace internal | 1647 } // namespace internal |
1646 } // namespace v8 | 1648 } // namespace v8 |
1647 | 1649 |
1648 #endif // V8_ISOLATE_H_ | 1650 #endif // V8_ISOLATE_H_ |
OLD | NEW |