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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 return descriptor_lookup_cache_; | 882 return descriptor_lookup_cache_; |
883 } | 883 } |
884 | 884 |
885 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } | 885 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
886 | 886 |
887 HandleScopeImplementer* handle_scope_implementer() { | 887 HandleScopeImplementer* handle_scope_implementer() { |
888 DCHECK(handle_scope_implementer_); | 888 DCHECK(handle_scope_implementer_); |
889 return handle_scope_implementer_; | 889 return handle_scope_implementer_; |
890 } | 890 } |
891 Zone* runtime_zone() { return runtime_zone_; } | 891 Zone* runtime_zone() { return runtime_zone_; } |
892 Zone* interface_descriptor_zone() { return interface_descriptor_zone_; } | |
893 | 892 |
894 UnicodeCache* unicode_cache() { | 893 UnicodeCache* unicode_cache() { |
895 return unicode_cache_; | 894 return unicode_cache_; |
896 } | 895 } |
897 | 896 |
898 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 897 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
899 return inner_pointer_to_code_cache_; | 898 return inner_pointer_to_code_cache_; |
900 } | 899 } |
901 | 900 |
902 GlobalHandles* global_handles() { return global_handles_; } | 901 GlobalHandles* global_handles() { return global_handles_; } |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1320 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1322 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1321 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1323 KeyedLookupCache* keyed_lookup_cache_; | 1322 KeyedLookupCache* keyed_lookup_cache_; |
1324 ContextSlotCache* context_slot_cache_; | 1323 ContextSlotCache* context_slot_cache_; |
1325 DescriptorLookupCache* descriptor_lookup_cache_; | 1324 DescriptorLookupCache* descriptor_lookup_cache_; |
1326 HandleScopeData handle_scope_data_; | 1325 HandleScopeData handle_scope_data_; |
1327 HandleScopeImplementer* handle_scope_implementer_; | 1326 HandleScopeImplementer* handle_scope_implementer_; |
1328 UnicodeCache* unicode_cache_; | 1327 UnicodeCache* unicode_cache_; |
1329 base::AccountingAllocator* allocator_; | 1328 base::AccountingAllocator* allocator_; |
1330 Zone* runtime_zone_; | 1329 Zone* runtime_zone_; |
1331 Zone* interface_descriptor_zone_; | |
1332 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1330 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1333 GlobalHandles* global_handles_; | 1331 GlobalHandles* global_handles_; |
1334 EternalHandles* eternal_handles_; | 1332 EternalHandles* eternal_handles_; |
1335 ThreadManager* thread_manager_; | 1333 ThreadManager* thread_manager_; |
1336 RuntimeState runtime_state_; | 1334 RuntimeState runtime_state_; |
1337 Builtins builtins_; | 1335 Builtins builtins_; |
1338 bool has_installed_extensions_; | 1336 bool has_installed_extensions_; |
1339 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1337 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1340 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1338 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1341 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1339 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 | 1674 |
1677 EmbeddedVector<char, 128> filename_; | 1675 EmbeddedVector<char, 128> filename_; |
1678 FILE* file_; | 1676 FILE* file_; |
1679 int scope_depth_; | 1677 int scope_depth_; |
1680 }; | 1678 }; |
1681 | 1679 |
1682 } // namespace internal | 1680 } // namespace internal |
1683 } // namespace v8 | 1681 } // namespace v8 |
1684 | 1682 |
1685 #endif // V8_ISOLATE_H_ | 1683 #endif // V8_ISOLATE_H_ |
OLD | NEW |