| 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 DescriptorLookupCache* descriptor_lookup_cache() { | 862 DescriptorLookupCache* descriptor_lookup_cache() { |
| 863 return descriptor_lookup_cache_; | 863 return descriptor_lookup_cache_; |
| 864 } | 864 } |
| 865 | 865 |
| 866 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } | 866 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
| 867 | 867 |
| 868 HandleScopeImplementer* handle_scope_implementer() { | 868 HandleScopeImplementer* handle_scope_implementer() { |
| 869 DCHECK(handle_scope_implementer_); | 869 DCHECK(handle_scope_implementer_); |
| 870 return handle_scope_implementer_; | 870 return handle_scope_implementer_; |
| 871 } | 871 } |
| 872 Zone* runtime_zone() { return &runtime_zone_; } | 872 Zone* runtime_zone() { return runtime_zone_; } |
| 873 Zone* interface_descriptor_zone() { return &interface_descriptor_zone_; } | 873 Zone* interface_descriptor_zone() { return interface_descriptor_zone_; } |
| 874 | 874 |
| 875 UnicodeCache* unicode_cache() { | 875 UnicodeCache* unicode_cache() { |
| 876 return unicode_cache_; | 876 return unicode_cache_; |
| 877 } | 877 } |
| 878 | 878 |
| 879 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 879 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
| 880 return inner_pointer_to_code_cache_; | 880 return inner_pointer_to_code_cache_; |
| 881 } | 881 } |
| 882 | 882 |
| 883 GlobalHandles* global_handles() { return global_handles_; } | 883 GlobalHandles* global_handles() { return global_handles_; } |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; } | 1129 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; } |
| 1130 | 1130 |
| 1131 CancelableTaskManager* cancelable_task_manager() { | 1131 CancelableTaskManager* cancelable_task_manager() { |
| 1132 return cancelable_task_manager_; | 1132 return cancelable_task_manager_; |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 interpreter::Interpreter* interpreter() const { return interpreter_; } | 1135 interpreter::Interpreter* interpreter() const { return interpreter_; } |
| 1136 | 1136 |
| 1137 base::AccountingAllocator* allocator() { return &allocator_; } | 1137 base::AccountingAllocator* allocator() { return allocator_; } |
| 1138 | 1138 |
| 1139 bool IsInAnyContext(Object* object, uint32_t index); | 1139 bool IsInAnyContext(Object* object, uint32_t index); |
| 1140 | 1140 |
| 1141 void SetRAILMode(RAILMode rail_mode); | 1141 void SetRAILMode(RAILMode rail_mode); |
| 1142 | 1142 |
| 1143 protected: | 1143 protected: |
| 1144 explicit Isolate(bool enable_serializer); | 1144 explicit Isolate(bool enable_serializer); |
| 1145 bool IsArrayOrObjectPrototype(Object* object); | 1145 bool IsArrayOrObjectPrototype(Object* object); |
| 1146 | 1146 |
| 1147 private: | 1147 private: |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1291 ThreadLocalTop thread_local_top_; | 1291 ThreadLocalTop thread_local_top_; |
| 1292 bool capture_stack_trace_for_uncaught_exceptions_; | 1292 bool capture_stack_trace_for_uncaught_exceptions_; |
| 1293 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1293 int stack_trace_for_uncaught_exceptions_frame_limit_; |
| 1294 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1294 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
| 1295 KeyedLookupCache* keyed_lookup_cache_; | 1295 KeyedLookupCache* keyed_lookup_cache_; |
| 1296 ContextSlotCache* context_slot_cache_; | 1296 ContextSlotCache* context_slot_cache_; |
| 1297 DescriptorLookupCache* descriptor_lookup_cache_; | 1297 DescriptorLookupCache* descriptor_lookup_cache_; |
| 1298 HandleScopeData handle_scope_data_; | 1298 HandleScopeData handle_scope_data_; |
| 1299 HandleScopeImplementer* handle_scope_implementer_; | 1299 HandleScopeImplementer* handle_scope_implementer_; |
| 1300 UnicodeCache* unicode_cache_; | 1300 UnicodeCache* unicode_cache_; |
| 1301 base::AccountingAllocator allocator_; | 1301 base::AccountingAllocator* allocator_; |
| 1302 Zone runtime_zone_; | 1302 Zone* runtime_zone_; |
| 1303 Zone interface_descriptor_zone_; | 1303 Zone* interface_descriptor_zone_; |
| 1304 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1304 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
| 1305 GlobalHandles* global_handles_; | 1305 GlobalHandles* global_handles_; |
| 1306 EternalHandles* eternal_handles_; | 1306 EternalHandles* eternal_handles_; |
| 1307 ThreadManager* thread_manager_; | 1307 ThreadManager* thread_manager_; |
| 1308 RuntimeState runtime_state_; | 1308 RuntimeState runtime_state_; |
| 1309 Builtins builtins_; | 1309 Builtins builtins_; |
| 1310 bool has_installed_extensions_; | 1310 bool has_installed_extensions_; |
| 1311 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1311 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1312 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1312 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1313 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1313 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1642 | 1642 |
| 1643 EmbeddedVector<char, 128> filename_; | 1643 EmbeddedVector<char, 128> filename_; |
| 1644 FILE* file_; | 1644 FILE* file_; |
| 1645 int scope_depth_; | 1645 int scope_depth_; |
| 1646 }; | 1646 }; |
| 1647 | 1647 |
| 1648 } // namespace internal | 1648 } // namespace internal |
| 1649 } // namespace v8 | 1649 } // namespace v8 |
| 1650 | 1650 |
| 1651 #endif // V8_ISOLATE_H_ | 1651 #endif // V8_ISOLATE_H_ |
| OLD | NEW |