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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "optimizing-compiler-thread.h" | 44 #include "optimizing-compiler-thread.h" |
45 #include "regexp-stack.h" | 45 #include "regexp-stack.h" |
46 #include "runtime-profiler.h" | 46 #include "runtime-profiler.h" |
47 #include "runtime.h" | 47 #include "runtime.h" |
48 #include "zone.h" | 48 #include "zone.h" |
49 | 49 |
50 namespace v8 { | 50 namespace v8 { |
51 namespace internal { | 51 namespace internal { |
52 | 52 |
53 class Bootstrapper; | 53 class Bootstrapper; |
54 struct CallInterfaceDescriptor; | |
55 class CodeGenerator; | 54 class CodeGenerator; |
56 class CodeRange; | 55 class CodeRange; |
57 struct CodeStubInterfaceDescriptor; | 56 struct CodeStubInterfaceDescriptor; |
| 57 struct CallInterfaceDescriptor; |
58 class CodeTracer; | 58 class CodeTracer; |
59 class CompilationCache; | 59 class CompilationCache; |
60 class ConsStringIteratorOp; | |
61 class ContextSlotCache; | 60 class ContextSlotCache; |
62 class Counters; | 61 class Counters; |
63 class CpuFeatures; | 62 class CpuFeatures; |
64 class CpuProfiler; | 63 class CpuProfiler; |
65 class DeoptimizerData; | 64 class DeoptimizerData; |
66 class Deserializer; | 65 class Deserializer; |
67 class EmptyStatement; | 66 class EmptyStatement; |
68 class ExternalCallbackScope; | 67 class ExternalCallbackScope; |
69 class ExternalReferenceTable; | 68 class ExternalReferenceTable; |
70 class Factory; | 69 class Factory; |
71 class FunctionInfoListener; | 70 class FunctionInfoListener; |
72 class HandleScopeImplementer; | 71 class HandleScopeImplementer; |
73 class HeapProfiler; | 72 class HeapProfiler; |
74 class HStatistics; | 73 class HStatistics; |
75 class HTracer; | 74 class HTracer; |
76 class InlineRuntimeFunctionsTable; | 75 class InlineRuntimeFunctionsTable; |
| 76 class NoAllocationStringAllocator; |
77 class InnerPointerToCodeCache; | 77 class InnerPointerToCodeCache; |
78 class MaterializedObjectStore; | |
79 class NoAllocationStringAllocator; | |
80 class RandomNumberGenerator; | 78 class RandomNumberGenerator; |
81 class RegExpStack; | 79 class RegExpStack; |
82 class SaveContext; | 80 class SaveContext; |
| 81 class UnicodeCache; |
| 82 class ConsStringIteratorOp; |
83 class StringTracker; | 83 class StringTracker; |
84 class StubCache; | 84 class StubCache; |
85 class SweeperThread; | 85 class SweeperThread; |
86 class ThreadManager; | 86 class ThreadManager; |
87 class ThreadState; | 87 class ThreadState; |
88 class ThreadVisitor; // Defined in v8threads.h | 88 class ThreadVisitor; // Defined in v8threads.h |
89 class UnicodeCache; | |
90 template <StateTag Tag> class VMState; | 89 template <StateTag Tag> class VMState; |
91 | 90 |
92 // 'void function pointer', used to roundtrip the | 91 // 'void function pointer', used to roundtrip the |
93 // ExternalReference::ExternalReferenceRedirector since we can not include | 92 // ExternalReference::ExternalReferenceRedirector since we can not include |
94 // assembler.h, where it is defined, here. | 93 // assembler.h, where it is defined, here. |
95 typedef void* ExternalReferenceRedirectorPointer(); | 94 typedef void* ExternalReferenceRedirectorPointer(); |
96 | 95 |
97 | 96 |
98 #ifdef ENABLE_DEBUGGER_SUPPORT | 97 #ifdef ENABLE_DEBUGGER_SUPPORT |
99 class Debug; | 98 class Debug; |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 // the isolate is fully initialized. | 862 // the isolate is fully initialized. |
864 ASSERT(logger_ != NULL); | 863 ASSERT(logger_ != NULL); |
865 return logger_; | 864 return logger_; |
866 } | 865 } |
867 StackGuard* stack_guard() { return &stack_guard_; } | 866 StackGuard* stack_guard() { return &stack_guard_; } |
868 Heap* heap() { return &heap_; } | 867 Heap* heap() { return &heap_; } |
869 StatsTable* stats_table(); | 868 StatsTable* stats_table(); |
870 StubCache* stub_cache() { return stub_cache_; } | 869 StubCache* stub_cache() { return stub_cache_; } |
871 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 870 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
872 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 871 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
873 MaterializedObjectStore* materialized_object_store() { | |
874 return materialized_object_store_; | |
875 } | |
876 | 872 |
877 MemoryAllocator* memory_allocator() { | 873 MemoryAllocator* memory_allocator() { |
878 return memory_allocator_; | 874 return memory_allocator_; |
879 } | 875 } |
880 | 876 |
881 KeyedLookupCache* keyed_lookup_cache() { | 877 KeyedLookupCache* keyed_lookup_cache() { |
882 return keyed_lookup_cache_; | 878 return keyed_lookup_cache_; |
883 } | 879 } |
884 | 880 |
885 ContextSlotCache* context_slot_cache() { | 881 ContextSlotCache* context_slot_cache() { |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 Counters* counters_; | 1268 Counters* counters_; |
1273 CodeRange* code_range_; | 1269 CodeRange* code_range_; |
1274 RecursiveMutex break_access_; | 1270 RecursiveMutex break_access_; |
1275 Atomic32 debugger_initialized_; | 1271 Atomic32 debugger_initialized_; |
1276 RecursiveMutex debugger_access_; | 1272 RecursiveMutex debugger_access_; |
1277 Logger* logger_; | 1273 Logger* logger_; |
1278 StackGuard stack_guard_; | 1274 StackGuard stack_guard_; |
1279 StatsTable* stats_table_; | 1275 StatsTable* stats_table_; |
1280 StubCache* stub_cache_; | 1276 StubCache* stub_cache_; |
1281 DeoptimizerData* deoptimizer_data_; | 1277 DeoptimizerData* deoptimizer_data_; |
1282 MaterializedObjectStore* materialized_object_store_; | |
1283 ThreadLocalTop thread_local_top_; | 1278 ThreadLocalTop thread_local_top_; |
1284 bool capture_stack_trace_for_uncaught_exceptions_; | 1279 bool capture_stack_trace_for_uncaught_exceptions_; |
1285 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1280 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1286 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1281 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1287 MemoryAllocator* memory_allocator_; | 1282 MemoryAllocator* memory_allocator_; |
1288 KeyedLookupCache* keyed_lookup_cache_; | 1283 KeyedLookupCache* keyed_lookup_cache_; |
1289 ContextSlotCache* context_slot_cache_; | 1284 ContextSlotCache* context_slot_cache_; |
1290 DescriptorLookupCache* descriptor_lookup_cache_; | 1285 DescriptorLookupCache* descriptor_lookup_cache_; |
1291 HandleScopeData handle_scope_data_; | 1286 HandleScopeData handle_scope_data_; |
1292 HandleScopeImplementer* handle_scope_implementer_; | 1287 HandleScopeImplementer* handle_scope_implementer_; |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1580 } | 1575 } |
1581 | 1576 |
1582 EmbeddedVector<char, 128> filename_; | 1577 EmbeddedVector<char, 128> filename_; |
1583 FILE* file_; | 1578 FILE* file_; |
1584 int scope_depth_; | 1579 int scope_depth_; |
1585 }; | 1580 }; |
1586 | 1581 |
1587 } } // namespace v8::internal | 1582 } } // namespace v8::internal |
1588 | 1583 |
1589 #endif // V8_ISOLATE_H_ | 1584 #endif // V8_ISOLATE_H_ |
OLD | NEW |