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