| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1273 StringStream* incomplete_message_; | 1274 StringStream* incomplete_message_; |
| 1274 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT | 1275 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT |
| 1275 Bootstrapper* bootstrapper_; | 1276 Bootstrapper* bootstrapper_; |
| 1276 RuntimeProfiler* runtime_profiler_; | 1277 RuntimeProfiler* runtime_profiler_; |
| 1277 CompilationCache* compilation_cache_; | 1278 CompilationCache* compilation_cache_; |
| 1278 Counters* counters_; | 1279 Counters* counters_; |
| 1279 base::RecursiveMutex break_access_; | 1280 base::RecursiveMutex break_access_; |
| 1280 Logger* logger_; | 1281 Logger* logger_; |
| 1281 StackGuard stack_guard_; | 1282 StackGuard stack_guard_; |
| 1282 StatsTable* stats_table_; | 1283 StatsTable* stats_table_; |
| 1283 StubCache* stub_cache_; | 1284 StubCache* load_stub_cache_; |
| 1285 StubCache* store_stub_cache_; |
| 1284 CodeAgingHelper* code_aging_helper_; | 1286 CodeAgingHelper* code_aging_helper_; |
| 1285 DeoptimizerData* deoptimizer_data_; | 1287 DeoptimizerData* deoptimizer_data_; |
| 1286 bool deoptimizer_lazy_throw_; | 1288 bool deoptimizer_lazy_throw_; |
| 1287 MaterializedObjectStore* materialized_object_store_; | 1289 MaterializedObjectStore* materialized_object_store_; |
| 1288 ThreadLocalTop thread_local_top_; | 1290 ThreadLocalTop thread_local_top_; |
| 1289 bool capture_stack_trace_for_uncaught_exceptions_; | 1291 bool capture_stack_trace_for_uncaught_exceptions_; |
| 1290 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1292 int stack_trace_for_uncaught_exceptions_frame_limit_; |
| 1291 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1293 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
| 1292 KeyedLookupCache* keyed_lookup_cache_; | 1294 KeyedLookupCache* keyed_lookup_cache_; |
| 1293 ContextSlotCache* context_slot_cache_; | 1295 ContextSlotCache* context_slot_cache_; |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1642 | 1644 |
| 1643 EmbeddedVector<char, 128> filename_; | 1645 EmbeddedVector<char, 128> filename_; |
| 1644 FILE* file_; | 1646 FILE* file_; |
| 1645 int scope_depth_; | 1647 int scope_depth_; |
| 1646 }; | 1648 }; |
| 1647 | 1649 |
| 1648 } // namespace internal | 1650 } // namespace internal |
| 1649 } // namespace v8 | 1651 } // namespace v8 |
| 1650 | 1652 |
| 1651 #endif // V8_ISOLATE_H_ | 1653 #endif // V8_ISOLATE_H_ |
| OLD | NEW |