| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 ASSERT(logger_ != NULL); | 867 ASSERT(logger_ != NULL); |
| 868 return logger_; | 868 return logger_; |
| 869 } | 869 } |
| 870 StackGuard* stack_guard() { return &stack_guard_; } | 870 StackGuard* stack_guard() { return &stack_guard_; } |
| 871 Heap* heap() { return &heap_; } | 871 Heap* heap() { return &heap_; } |
| 872 StatsTable* stats_table(); | 872 StatsTable* stats_table(); |
| 873 StubCache* stub_cache() { return stub_cache_; } | 873 StubCache* stub_cache() { return stub_cache_; } |
| 874 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 874 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
| 875 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 875 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
| 876 | 876 |
| 877 TranscendentalCache* transcendental_cache() const { | |
| 878 return transcendental_cache_; | |
| 879 } | |
| 880 | |
| 881 MemoryAllocator* memory_allocator() { | 877 MemoryAllocator* memory_allocator() { |
| 882 return memory_allocator_; | 878 return memory_allocator_; |
| 883 } | 879 } |
| 884 | 880 |
| 885 KeyedLookupCache* keyed_lookup_cache() { | 881 KeyedLookupCache* keyed_lookup_cache() { |
| 886 return keyed_lookup_cache_; | 882 return keyed_lookup_cache_; |
| 887 } | 883 } |
| 888 | 884 |
| 889 ContextSlotCache* context_slot_cache() { | 885 ContextSlotCache* context_slot_cache() { |
| 890 return context_slot_cache_; | 886 return context_slot_cache_; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 code_stub_interface_descriptor(int index); | 1080 code_stub_interface_descriptor(int index); |
| 1085 | 1081 |
| 1086 void IterateDeferredHandles(ObjectVisitor* visitor); | 1082 void IterateDeferredHandles(ObjectVisitor* visitor); |
| 1087 void LinkDeferredHandles(DeferredHandles* deferred_handles); | 1083 void LinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1088 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); | 1084 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); |
| 1089 | 1085 |
| 1090 #ifdef DEBUG | 1086 #ifdef DEBUG |
| 1091 bool IsDeferredHandle(Object** location); | 1087 bool IsDeferredHandle(Object** location); |
| 1092 #endif // DEBUG | 1088 #endif // DEBUG |
| 1093 | 1089 |
| 1090 int max_available_threads() const { |
| 1091 return max_available_threads_; |
| 1092 } |
| 1093 |
| 1094 void set_max_available_threads(int value) { | 1094 void set_max_available_threads(int value) { |
| 1095 max_available_threads_ = value; | 1095 max_available_threads_ = value; |
| 1096 } | 1096 } |
| 1097 | 1097 |
| 1098 bool concurrent_recompilation_enabled() { | 1098 bool concurrent_recompilation_enabled() { |
| 1099 // Thread is only available with flag enabled. | 1099 // Thread is only available with flag enabled. |
| 1100 ASSERT(optimizing_compiler_thread_ == NULL || | 1100 ASSERT(optimizing_compiler_thread_ == NULL || |
| 1101 FLAG_concurrent_recompilation); | 1101 FLAG_concurrent_recompilation); |
| 1102 return optimizing_compiler_thread_ != NULL; | 1102 return optimizing_compiler_thread_ != NULL; |
| 1103 } | 1103 } |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1268 RecursiveMutex debugger_access_; | 1268 RecursiveMutex debugger_access_; |
| 1269 Logger* logger_; | 1269 Logger* logger_; |
| 1270 StackGuard stack_guard_; | 1270 StackGuard stack_guard_; |
| 1271 StatsTable* stats_table_; | 1271 StatsTable* stats_table_; |
| 1272 StubCache* stub_cache_; | 1272 StubCache* stub_cache_; |
| 1273 DeoptimizerData* deoptimizer_data_; | 1273 DeoptimizerData* deoptimizer_data_; |
| 1274 ThreadLocalTop thread_local_top_; | 1274 ThreadLocalTop thread_local_top_; |
| 1275 bool capture_stack_trace_for_uncaught_exceptions_; | 1275 bool capture_stack_trace_for_uncaught_exceptions_; |
| 1276 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1276 int stack_trace_for_uncaught_exceptions_frame_limit_; |
| 1277 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1277 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
| 1278 TranscendentalCache* transcendental_cache_; | |
| 1279 MemoryAllocator* memory_allocator_; | 1278 MemoryAllocator* memory_allocator_; |
| 1280 KeyedLookupCache* keyed_lookup_cache_; | 1279 KeyedLookupCache* keyed_lookup_cache_; |
| 1281 ContextSlotCache* context_slot_cache_; | 1280 ContextSlotCache* context_slot_cache_; |
| 1282 DescriptorLookupCache* descriptor_lookup_cache_; | 1281 DescriptorLookupCache* descriptor_lookup_cache_; |
| 1283 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; | 1282 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; |
| 1284 HandleScopeImplementer* handle_scope_implementer_; | 1283 HandleScopeImplementer* handle_scope_implementer_; |
| 1285 UnicodeCache* unicode_cache_; | 1284 UnicodeCache* unicode_cache_; |
| 1286 Zone runtime_zone_; | 1285 Zone runtime_zone_; |
| 1287 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1286 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
| 1288 ConsStringIteratorOp* write_iterator_; | 1287 ConsStringIteratorOp* write_iterator_; |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 } | 1571 } |
| 1573 | 1572 |
| 1574 EmbeddedVector<char, 128> filename_; | 1573 EmbeddedVector<char, 128> filename_; |
| 1575 FILE* file_; | 1574 FILE* file_; |
| 1576 int scope_depth_; | 1575 int scope_depth_; |
| 1577 }; | 1576 }; |
| 1578 | 1577 |
| 1579 } } // namespace v8::internal | 1578 } } // namespace v8::internal |
| 1580 | 1579 |
| 1581 #endif // V8_ISOLATE_H_ | 1580 #endif // V8_ISOLATE_H_ |
| OLD | NEW |