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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 DescriptorLookupCache* descriptor_lookup_cache() { | 886 DescriptorLookupCache* descriptor_lookup_cache() { |
887 return descriptor_lookup_cache_; | 887 return descriptor_lookup_cache_; |
888 } | 888 } |
889 | 889 |
890 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } | 890 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
891 | 891 |
892 HandleScopeImplementer* handle_scope_implementer() { | 892 HandleScopeImplementer* handle_scope_implementer() { |
893 DCHECK(handle_scope_implementer_); | 893 DCHECK(handle_scope_implementer_); |
894 return handle_scope_implementer_; | 894 return handle_scope_implementer_; |
895 } | 895 } |
896 Zone* runtime_zone() { return runtime_zone_; } | |
897 | 896 |
898 UnicodeCache* unicode_cache() { | 897 UnicodeCache* unicode_cache() { |
899 return unicode_cache_; | 898 return unicode_cache_; |
900 } | 899 } |
901 | 900 |
902 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 901 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
903 return inner_pointer_to_code_cache_; | 902 return inner_pointer_to_code_cache_; |
904 } | 903 } |
905 | 904 |
906 GlobalHandles* global_handles() { return global_handles_; } | 905 GlobalHandles* global_handles() { return global_handles_; } |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 bool capture_stack_trace_for_uncaught_exceptions_; | 1326 bool capture_stack_trace_for_uncaught_exceptions_; |
1328 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1327 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1329 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1328 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1330 KeyedLookupCache* keyed_lookup_cache_; | 1329 KeyedLookupCache* keyed_lookup_cache_; |
1331 ContextSlotCache* context_slot_cache_; | 1330 ContextSlotCache* context_slot_cache_; |
1332 DescriptorLookupCache* descriptor_lookup_cache_; | 1331 DescriptorLookupCache* descriptor_lookup_cache_; |
1333 HandleScopeData handle_scope_data_; | 1332 HandleScopeData handle_scope_data_; |
1334 HandleScopeImplementer* handle_scope_implementer_; | 1333 HandleScopeImplementer* handle_scope_implementer_; |
1335 UnicodeCache* unicode_cache_; | 1334 UnicodeCache* unicode_cache_; |
1336 AccountingAllocator* allocator_; | 1335 AccountingAllocator* allocator_; |
1337 Zone* runtime_zone_; | |
1338 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1336 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1339 GlobalHandles* global_handles_; | 1337 GlobalHandles* global_handles_; |
1340 EternalHandles* eternal_handles_; | 1338 EternalHandles* eternal_handles_; |
1341 ThreadManager* thread_manager_; | 1339 ThreadManager* thread_manager_; |
1342 RuntimeState runtime_state_; | 1340 RuntimeState runtime_state_; |
1343 Builtins builtins_; | 1341 Builtins builtins_; |
1344 bool has_installed_extensions_; | 1342 bool has_installed_extensions_; |
1345 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1343 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1346 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1344 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1347 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1345 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1686 | 1684 |
1687 EmbeddedVector<char, 128> filename_; | 1685 EmbeddedVector<char, 128> filename_; |
1688 FILE* file_; | 1686 FILE* file_; |
1689 int scope_depth_; | 1687 int scope_depth_; |
1690 }; | 1688 }; |
1691 | 1689 |
1692 } // namespace internal | 1690 } // namespace internal |
1693 } // namespace v8 | 1691 } // namespace v8 |
1694 | 1692 |
1695 #endif // V8_ISOLATE_H_ | 1693 #endif // V8_ISOLATE_H_ |
OLD | NEW |