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 <set> | 9 #include <set> |
10 | 10 |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 // the isolate is fully initialized. | 813 // the isolate is fully initialized. |
814 DCHECK(logger_ != NULL); | 814 DCHECK(logger_ != NULL); |
815 return logger_; | 815 return logger_; |
816 } | 816 } |
817 StackGuard* stack_guard() { return &stack_guard_; } | 817 StackGuard* stack_guard() { return &stack_guard_; } |
818 Heap* heap() { return &heap_; } | 818 Heap* heap() { return &heap_; } |
819 StatsTable* stats_table(); | 819 StatsTable* stats_table(); |
820 StubCache* stub_cache() { return stub_cache_; } | 820 StubCache* stub_cache() { return stub_cache_; } |
821 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } | 821 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } |
822 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 822 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
| 823 bool deoptimizer_lazy_throw() const { return deoptimizer_lazy_throw_; } |
| 824 void set_deoptimizer_lazy_throw(bool value) { |
| 825 deoptimizer_lazy_throw_ = value; |
| 826 } |
823 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 827 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
824 MaterializedObjectStore* materialized_object_store() { | 828 MaterializedObjectStore* materialized_object_store() { |
825 return materialized_object_store_; | 829 return materialized_object_store_; |
826 } | 830 } |
827 | 831 |
828 MemoryAllocator* memory_allocator() { | 832 MemoryAllocator* memory_allocator() { |
829 return memory_allocator_; | 833 return memory_allocator_; |
830 } | 834 } |
831 | 835 |
832 KeyedLookupCache* keyed_lookup_cache() { | 836 KeyedLookupCache* keyed_lookup_cache() { |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 CompilationCache* compilation_cache_; | 1215 CompilationCache* compilation_cache_; |
1212 Counters* counters_; | 1216 Counters* counters_; |
1213 CodeRange* code_range_; | 1217 CodeRange* code_range_; |
1214 base::RecursiveMutex break_access_; | 1218 base::RecursiveMutex break_access_; |
1215 Logger* logger_; | 1219 Logger* logger_; |
1216 StackGuard stack_guard_; | 1220 StackGuard stack_guard_; |
1217 StatsTable* stats_table_; | 1221 StatsTable* stats_table_; |
1218 StubCache* stub_cache_; | 1222 StubCache* stub_cache_; |
1219 CodeAgingHelper* code_aging_helper_; | 1223 CodeAgingHelper* code_aging_helper_; |
1220 DeoptimizerData* deoptimizer_data_; | 1224 DeoptimizerData* deoptimizer_data_; |
| 1225 bool deoptimizer_lazy_throw_; |
1221 MaterializedObjectStore* materialized_object_store_; | 1226 MaterializedObjectStore* materialized_object_store_; |
1222 ThreadLocalTop thread_local_top_; | 1227 ThreadLocalTop thread_local_top_; |
1223 bool capture_stack_trace_for_uncaught_exceptions_; | 1228 bool capture_stack_trace_for_uncaught_exceptions_; |
1224 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1229 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1225 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1230 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1226 MemoryAllocator* memory_allocator_; | 1231 MemoryAllocator* memory_allocator_; |
1227 KeyedLookupCache* keyed_lookup_cache_; | 1232 KeyedLookupCache* keyed_lookup_cache_; |
1228 ContextSlotCache* context_slot_cache_; | 1233 ContextSlotCache* context_slot_cache_; |
1229 DescriptorLookupCache* descriptor_lookup_cache_; | 1234 DescriptorLookupCache* descriptor_lookup_cache_; |
1230 HandleScopeData handle_scope_data_; | 1235 HandleScopeData handle_scope_data_; |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 | 1559 |
1555 EmbeddedVector<char, 128> filename_; | 1560 EmbeddedVector<char, 128> filename_; |
1556 FILE* file_; | 1561 FILE* file_; |
1557 int scope_depth_; | 1562 int scope_depth_; |
1558 }; | 1563 }; |
1559 | 1564 |
1560 } // namespace internal | 1565 } // namespace internal |
1561 } // namespace v8 | 1566 } // namespace v8 |
1562 | 1567 |
1563 #endif // V8_ISOLATE_H_ | 1568 #endif // V8_ISOLATE_H_ |
OLD | NEW |