| 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 "../include/v8-debug.h" | 8 #include "../include/v8-debug.h" |
| 9 #include "allocation.h" | 9 #include "allocation.h" |
| 10 #include "assert-scope.h" | 10 #include "assert-scope.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 class Factory; | 47 class Factory; |
| 48 class FunctionInfoListener; | 48 class FunctionInfoListener; |
| 49 class HandleScopeImplementer; | 49 class HandleScopeImplementer; |
| 50 class HeapProfiler; | 50 class HeapProfiler; |
| 51 class HStatistics; | 51 class HStatistics; |
| 52 class HTracer; | 52 class HTracer; |
| 53 class InlineRuntimeFunctionsTable; | 53 class InlineRuntimeFunctionsTable; |
| 54 class InnerPointerToCodeCache; | 54 class InnerPointerToCodeCache; |
| 55 class MaterializedObjectStore; | 55 class MaterializedObjectStore; |
| 56 class NoAllocationStringAllocator; | 56 class NoAllocationStringAllocator; |
| 57 class CodeAgingHelper; |
| 57 class RandomNumberGenerator; | 58 class RandomNumberGenerator; |
| 58 class RegExpStack; | 59 class RegExpStack; |
| 59 class SaveContext; | 60 class SaveContext; |
| 60 class StringTracker; | 61 class StringTracker; |
| 61 class StubCache; | 62 class StubCache; |
| 62 class SweeperThread; | 63 class SweeperThread; |
| 63 class ThreadManager; | 64 class ThreadManager; |
| 64 class ThreadState; | 65 class ThreadState; |
| 65 class ThreadVisitor; // Defined in v8threads.h | 66 class ThreadVisitor; // Defined in v8threads.h |
| 66 class UnicodeCache; | 67 class UnicodeCache; |
| (...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 Logger* logger() { | 830 Logger* logger() { |
| 830 // Call InitializeLoggingAndCounters() if logging is needed before | 831 // Call InitializeLoggingAndCounters() if logging is needed before |
| 831 // the isolate is fully initialized. | 832 // the isolate is fully initialized. |
| 832 ASSERT(logger_ != NULL); | 833 ASSERT(logger_ != NULL); |
| 833 return logger_; | 834 return logger_; |
| 834 } | 835 } |
| 835 StackGuard* stack_guard() { return &stack_guard_; } | 836 StackGuard* stack_guard() { return &stack_guard_; } |
| 836 Heap* heap() { return &heap_; } | 837 Heap* heap() { return &heap_; } |
| 837 StatsTable* stats_table(); | 838 StatsTable* stats_table(); |
| 838 StubCache* stub_cache() { return stub_cache_; } | 839 StubCache* stub_cache() { return stub_cache_; } |
| 840 CodeAgingHelper* code_aging_helper() { return code_aging_helper_; } |
| 839 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 841 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
| 840 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 842 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
| 841 MaterializedObjectStore* materialized_object_store() { | 843 MaterializedObjectStore* materialized_object_store() { |
| 842 return materialized_object_store_; | 844 return materialized_object_store_; |
| 843 } | 845 } |
| 844 | 846 |
| 845 MemoryAllocator* memory_allocator() { | 847 MemoryAllocator* memory_allocator() { |
| 846 return memory_allocator_; | 848 return memory_allocator_; |
| 847 } | 849 } |
| 848 | 850 |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 CompilationCache* compilation_cache_; | 1198 CompilationCache* compilation_cache_; |
| 1197 Counters* counters_; | 1199 Counters* counters_; |
| 1198 CodeRange* code_range_; | 1200 CodeRange* code_range_; |
| 1199 RecursiveMutex break_access_; | 1201 RecursiveMutex break_access_; |
| 1200 Atomic32 debugger_initialized_; | 1202 Atomic32 debugger_initialized_; |
| 1201 RecursiveMutex debugger_access_; | 1203 RecursiveMutex debugger_access_; |
| 1202 Logger* logger_; | 1204 Logger* logger_; |
| 1203 StackGuard stack_guard_; | 1205 StackGuard stack_guard_; |
| 1204 StatsTable* stats_table_; | 1206 StatsTable* stats_table_; |
| 1205 StubCache* stub_cache_; | 1207 StubCache* stub_cache_; |
| 1208 CodeAgingHelper* code_aging_helper_; |
| 1206 DeoptimizerData* deoptimizer_data_; | 1209 DeoptimizerData* deoptimizer_data_; |
| 1207 MaterializedObjectStore* materialized_object_store_; | 1210 MaterializedObjectStore* materialized_object_store_; |
| 1208 ThreadLocalTop thread_local_top_; | 1211 ThreadLocalTop thread_local_top_; |
| 1209 bool capture_stack_trace_for_uncaught_exceptions_; | 1212 bool capture_stack_trace_for_uncaught_exceptions_; |
| 1210 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1213 int stack_trace_for_uncaught_exceptions_frame_limit_; |
| 1211 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1214 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
| 1212 MemoryAllocator* memory_allocator_; | 1215 MemoryAllocator* memory_allocator_; |
| 1213 KeyedLookupCache* keyed_lookup_cache_; | 1216 KeyedLookupCache* keyed_lookup_cache_; |
| 1214 ContextSlotCache* context_slot_cache_; | 1217 ContextSlotCache* context_slot_cache_; |
| 1215 DescriptorLookupCache* descriptor_lookup_cache_; | 1218 DescriptorLookupCache* descriptor_lookup_cache_; |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 } | 1494 } |
| 1492 | 1495 |
| 1493 EmbeddedVector<char, 128> filename_; | 1496 EmbeddedVector<char, 128> filename_; |
| 1494 FILE* file_; | 1497 FILE* file_; |
| 1495 int scope_depth_; | 1498 int scope_depth_; |
| 1496 }; | 1499 }; |
| 1497 | 1500 |
| 1498 } } // namespace v8::internal | 1501 } } // namespace v8::internal |
| 1499 | 1502 |
| 1500 #endif // V8_ISOLATE_H_ | 1503 #endif // V8_ISOLATE_H_ |
| OLD | NEW |