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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 } | 867 } |
868 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 868 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
869 MaterializedObjectStore* materialized_object_store() { | 869 MaterializedObjectStore* materialized_object_store() { |
870 return materialized_object_store_; | 870 return materialized_object_store_; |
871 } | 871 } |
872 | 872 |
873 KeyedLookupCache* keyed_lookup_cache() { | 873 KeyedLookupCache* keyed_lookup_cache() { |
874 return keyed_lookup_cache_; | 874 return keyed_lookup_cache_; |
875 } | 875 } |
876 | 876 |
| 877 ContextSlotCache* context_slot_cache() { |
| 878 return context_slot_cache_; |
| 879 } |
| 880 |
877 DescriptorLookupCache* descriptor_lookup_cache() { | 881 DescriptorLookupCache* descriptor_lookup_cache() { |
878 return descriptor_lookup_cache_; | 882 return descriptor_lookup_cache_; |
879 } | 883 } |
880 | 884 |
881 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } | 885 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
882 | 886 |
883 HandleScopeImplementer* handle_scope_implementer() { | 887 HandleScopeImplementer* handle_scope_implementer() { |
884 DCHECK(handle_scope_implementer_); | 888 DCHECK(handle_scope_implementer_); |
885 return handle_scope_implementer_; | 889 return handle_scope_implementer_; |
886 } | 890 } |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 StubCache* store_stub_cache_; | 1312 StubCache* store_stub_cache_; |
1309 CodeAgingHelper* code_aging_helper_; | 1313 CodeAgingHelper* code_aging_helper_; |
1310 DeoptimizerData* deoptimizer_data_; | 1314 DeoptimizerData* deoptimizer_data_; |
1311 bool deoptimizer_lazy_throw_; | 1315 bool deoptimizer_lazy_throw_; |
1312 MaterializedObjectStore* materialized_object_store_; | 1316 MaterializedObjectStore* materialized_object_store_; |
1313 ThreadLocalTop thread_local_top_; | 1317 ThreadLocalTop thread_local_top_; |
1314 bool capture_stack_trace_for_uncaught_exceptions_; | 1318 bool capture_stack_trace_for_uncaught_exceptions_; |
1315 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1319 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1316 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1320 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1317 KeyedLookupCache* keyed_lookup_cache_; | 1321 KeyedLookupCache* keyed_lookup_cache_; |
| 1322 ContextSlotCache* context_slot_cache_; |
1318 DescriptorLookupCache* descriptor_lookup_cache_; | 1323 DescriptorLookupCache* descriptor_lookup_cache_; |
1319 HandleScopeData handle_scope_data_; | 1324 HandleScopeData handle_scope_data_; |
1320 HandleScopeImplementer* handle_scope_implementer_; | 1325 HandleScopeImplementer* handle_scope_implementer_; |
1321 UnicodeCache* unicode_cache_; | 1326 UnicodeCache* unicode_cache_; |
1322 base::AccountingAllocator* allocator_; | 1327 base::AccountingAllocator* allocator_; |
1323 Zone* runtime_zone_; | 1328 Zone* runtime_zone_; |
1324 Zone* interface_descriptor_zone_; | 1329 Zone* interface_descriptor_zone_; |
1325 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1330 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1326 GlobalHandles* global_handles_; | 1331 GlobalHandles* global_handles_; |
1327 EternalHandles* eternal_handles_; | 1332 EternalHandles* eternal_handles_; |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1669 | 1674 |
1670 EmbeddedVector<char, 128> filename_; | 1675 EmbeddedVector<char, 128> filename_; |
1671 FILE* file_; | 1676 FILE* file_; |
1672 int scope_depth_; | 1677 int scope_depth_; |
1673 }; | 1678 }; |
1674 | 1679 |
1675 } // namespace internal | 1680 } // namespace internal |
1676 } // namespace v8 | 1681 } // namespace v8 |
1677 | 1682 |
1678 #endif // V8_ISOLATE_H_ | 1683 #endif // V8_ISOLATE_H_ |
OLD | NEW |