OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 class CodeRange; | 52 class CodeRange; |
53 class CompilationCache; | 53 class CompilationCache; |
54 class ContextSlotCache; | 54 class ContextSlotCache; |
55 class ContextSwitcher; | 55 class ContextSwitcher; |
56 class Counters; | 56 class Counters; |
57 class CpuFeatures; | 57 class CpuFeatures; |
58 class CpuProfiler; | 58 class CpuProfiler; |
59 class DeoptimizerData; | 59 class DeoptimizerData; |
60 class Deserializer; | 60 class Deserializer; |
61 class EmptyStatement; | 61 class EmptyStatement; |
62 class ExtensionStates; | |
62 class ExternalReferenceTable; | 63 class ExternalReferenceTable; |
63 class Factory; | 64 class Factory; |
64 class FunctionInfoListener; | 65 class FunctionInfoListener; |
65 class HandleScopeImplementer; | 66 class HandleScopeImplementer; |
66 class HeapProfiler; | 67 class HeapProfiler; |
67 class InlineRuntimeFunctionsTable; | 68 class InlineRuntimeFunctionsTable; |
68 class NoAllocationStringAllocator; | 69 class NoAllocationStringAllocator; |
69 class InnerPointerToCodeCache; | 70 class InnerPointerToCodeCache; |
70 class PreallocatedMemoryThread; | 71 class PreallocatedMemoryThread; |
71 class RegExpStack; | 72 class RegExpStack; |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
803 ASSERT(logger_ != NULL); | 804 ASSERT(logger_ != NULL); |
804 return logger_; | 805 return logger_; |
805 } | 806 } |
806 StackGuard* stack_guard() { return &stack_guard_; } | 807 StackGuard* stack_guard() { return &stack_guard_; } |
807 Heap* heap() { return &heap_; } | 808 Heap* heap() { return &heap_; } |
808 StatsTable* stats_table(); | 809 StatsTable* stats_table(); |
809 StubCache* stub_cache() { return stub_cache_; } | 810 StubCache* stub_cache() { return stub_cache_; } |
810 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } | 811 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } |
811 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } | 812 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } |
812 | 813 |
814 ExtensionStates* extension_states() { return extension_states_; } | |
Vitaly Repeshko
2011/11/15 18:14:17
It's really unfortunate that this is a part of the
| |
815 | |
813 TranscendentalCache* transcendental_cache() const { | 816 TranscendentalCache* transcendental_cache() const { |
814 return transcendental_cache_; | 817 return transcendental_cache_; |
815 } | 818 } |
816 | 819 |
817 MemoryAllocator* memory_allocator() { | 820 MemoryAllocator* memory_allocator() { |
818 return memory_allocator_; | 821 return memory_allocator_; |
819 } | 822 } |
820 | 823 |
821 KeyedLookupCache* keyed_lookup_cache() { | 824 KeyedLookupCache* keyed_lookup_cache() { |
822 return keyed_lookup_cache_; | 825 return keyed_lookup_cache_; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1120 Bootstrapper* bootstrapper_; | 1123 Bootstrapper* bootstrapper_; |
1121 RuntimeProfiler* runtime_profiler_; | 1124 RuntimeProfiler* runtime_profiler_; |
1122 CompilationCache* compilation_cache_; | 1125 CompilationCache* compilation_cache_; |
1123 Counters* counters_; | 1126 Counters* counters_; |
1124 CodeRange* code_range_; | 1127 CodeRange* code_range_; |
1125 Mutex* break_access_; | 1128 Mutex* break_access_; |
1126 Atomic32 debugger_initialized_; | 1129 Atomic32 debugger_initialized_; |
1127 Mutex* debugger_access_; | 1130 Mutex* debugger_access_; |
1128 Heap heap_; | 1131 Heap heap_; |
1129 Logger* logger_; | 1132 Logger* logger_; |
1133 ExtensionStates* extension_states_; | |
1130 StackGuard stack_guard_; | 1134 StackGuard stack_guard_; |
1131 StatsTable* stats_table_; | 1135 StatsTable* stats_table_; |
1132 StubCache* stub_cache_; | 1136 StubCache* stub_cache_; |
1133 DeoptimizerData* deoptimizer_data_; | 1137 DeoptimizerData* deoptimizer_data_; |
1134 ThreadLocalTop thread_local_top_; | 1138 ThreadLocalTop thread_local_top_; |
1135 bool capture_stack_trace_for_uncaught_exceptions_; | 1139 bool capture_stack_trace_for_uncaught_exceptions_; |
1136 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1140 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1137 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1141 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1138 TranscendentalCache* transcendental_cache_; | 1142 TranscendentalCache* transcendental_cache_; |
1139 MemoryAllocator* memory_allocator_; | 1143 MemoryAllocator* memory_allocator_; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1359 | 1363 |
1360 // Mark the global context with out of memory. | 1364 // Mark the global context with out of memory. |
1361 inline void Context::mark_out_of_memory() { | 1365 inline void Context::mark_out_of_memory() { |
1362 global_context()->set_out_of_memory(HEAP->true_value()); | 1366 global_context()->set_out_of_memory(HEAP->true_value()); |
1363 } | 1367 } |
1364 | 1368 |
1365 | 1369 |
1366 } } // namespace v8::internal | 1370 } } // namespace v8::internal |
1367 | 1371 |
1368 #endif // V8_ISOLATE_H_ | 1372 #endif // V8_ISOLATE_H_ |
OLD | NEW |