| 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 <memory> | 8 #include <memory> |
| 9 #include <queue> | 9 #include <queue> |
| 10 | 10 |
| 11 #include "include/v8-debug.h" | 11 #include "include/v8-debug.h" |
| 12 #include "src/allocation.h" | 12 #include "src/allocation.h" |
| 13 #include "src/base/atomicops.h" | 13 #include "src/base/atomicops.h" |
| 14 #include "src/builtins/builtins.h" | 14 #include "src/builtins/builtins.h" |
| 15 #include "src/contexts.h" | 15 #include "src/contexts.h" |
| 16 #include "src/date.h" | 16 #include "src/date.h" |
| 17 #include "src/debug/debug-interface.h" | 17 #include "src/debug/debug-interface.h" |
| 18 #include "src/execution.h" | 18 #include "src/execution.h" |
| 19 #include "src/frames.h" | 19 #include "src/frames.h" |
| 20 #include "src/futex-emulation.h" | 20 #include "src/futex-emulation.h" |
| 21 #include "src/global-handles.h" | 21 #include "src/global-handles.h" |
| 22 #include "src/handles.h" | 22 #include "src/handles.h" |
| 23 #include "src/heap/heap.h" | 23 #include "src/heap/heap.h" |
| 24 #include "src/messages.h" | 24 #include "src/messages.h" |
| 25 #include "src/regexp/regexp-stack.h" | 25 #include "src/regexp/regexp-stack.h" |
| 26 #include "src/runtime/runtime.h" | 26 #include "src/runtime/runtime.h" |
| 27 #include "src/zone/zone.h" | 27 #include "src/zone/zone.h" |
| 28 | 28 |
| 29 class TestIsolate; |
| 30 |
| 29 namespace v8 { | 31 namespace v8 { |
| 30 | 32 |
| 31 namespace base { | 33 namespace base { |
| 32 class RandomNumberGenerator; | 34 class RandomNumberGenerator; |
| 33 } | 35 } |
| 34 | 36 |
| 35 namespace internal { | 37 namespace internal { |
| 36 | 38 |
| 37 class AccessCompilerData; | 39 class AccessCompilerData; |
| 38 class AddressToIndexHashMap; | 40 class AddressToIndexHashMap; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 67 class HStatistics; | 69 class HStatistics; |
| 68 class HTracer; | 70 class HTracer; |
| 69 class InlineRuntimeFunctionsTable; | 71 class InlineRuntimeFunctionsTable; |
| 70 class InnerPointerToCodeCache; | 72 class InnerPointerToCodeCache; |
| 71 class Logger; | 73 class Logger; |
| 72 class MaterializedObjectStore; | 74 class MaterializedObjectStore; |
| 73 class OptimizingCompileDispatcher; | 75 class OptimizingCompileDispatcher; |
| 74 class RegExpStack; | 76 class RegExpStack; |
| 75 class RuntimeProfiler; | 77 class RuntimeProfiler; |
| 76 class SaveContext; | 78 class SaveContext; |
| 79 class SetupIsolateDelegate; |
| 77 class StatsTable; | 80 class StatsTable; |
| 78 class StringTracker; | 81 class StringTracker; |
| 79 class StubCache; | 82 class StubCache; |
| 80 class SweeperThread; | 83 class SweeperThread; |
| 81 class ThreadManager; | 84 class ThreadManager; |
| 82 class ThreadState; | 85 class ThreadState; |
| 83 class ThreadVisitor; // Defined in v8threads.h | 86 class ThreadVisitor; // Defined in v8threads.h |
| 84 class UnicodeCache; | 87 class UnicodeCache; |
| 85 template <StateTag Tag> class VMState; | 88 template <StateTag Tag> class VMState; |
| 86 | 89 |
| (...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 HandleScopeData handle_scope_data_; | 1419 HandleScopeData handle_scope_data_; |
| 1417 HandleScopeImplementer* handle_scope_implementer_; | 1420 HandleScopeImplementer* handle_scope_implementer_; |
| 1418 UnicodeCache* unicode_cache_; | 1421 UnicodeCache* unicode_cache_; |
| 1419 AccountingAllocator* allocator_; | 1422 AccountingAllocator* allocator_; |
| 1420 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1423 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
| 1421 GlobalHandles* global_handles_; | 1424 GlobalHandles* global_handles_; |
| 1422 EternalHandles* eternal_handles_; | 1425 EternalHandles* eternal_handles_; |
| 1423 ThreadManager* thread_manager_; | 1426 ThreadManager* thread_manager_; |
| 1424 RuntimeState runtime_state_; | 1427 RuntimeState runtime_state_; |
| 1425 Builtins builtins_; | 1428 Builtins builtins_; |
| 1429 SetupIsolateDelegate* setup_delegate_; |
| 1426 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1430 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1427 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1431 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1428 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1432 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1429 regexp_macro_assembler_canonicalize_; | 1433 regexp_macro_assembler_canonicalize_; |
| 1430 RegExpStack* regexp_stack_; | 1434 RegExpStack* regexp_stack_; |
| 1431 List<int> regexp_indices_; | 1435 List<int> regexp_indices_; |
| 1432 DateCache* date_cache_; | 1436 DateCache* date_cache_; |
| 1433 CallInterfaceDescriptorData* call_descriptor_data_; | 1437 CallInterfaceDescriptorData* call_descriptor_data_; |
| 1434 AccessCompilerData* access_compiler_data_; | 1438 AccessCompilerData* access_compiler_data_; |
| 1435 base::RandomNumberGenerator* random_number_generator_; | 1439 base::RandomNumberGenerator* random_number_generator_; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 friend class OptimizingCompileDispatcher; | 1558 friend class OptimizingCompileDispatcher; |
| 1555 friend class SweeperThread; | 1559 friend class SweeperThread; |
| 1556 friend class ThreadManager; | 1560 friend class ThreadManager; |
| 1557 friend class Simulator; | 1561 friend class Simulator; |
| 1558 friend class StackGuard; | 1562 friend class StackGuard; |
| 1559 friend class ThreadId; | 1563 friend class ThreadId; |
| 1560 friend class v8::Isolate; | 1564 friend class v8::Isolate; |
| 1561 friend class v8::Locker; | 1565 friend class v8::Locker; |
| 1562 friend class v8::Unlocker; | 1566 friend class v8::Unlocker; |
| 1563 friend class v8::SnapshotCreator; | 1567 friend class v8::SnapshotCreator; |
| 1568 friend class ::TestIsolate; |
| 1564 friend v8::StartupData v8::V8::CreateSnapshotDataBlob(const char*); | 1569 friend v8::StartupData v8::V8::CreateSnapshotDataBlob(const char*); |
| 1565 friend v8::StartupData v8::V8::WarmUpSnapshotDataBlob(v8::StartupData, | 1570 friend v8::StartupData v8::V8::WarmUpSnapshotDataBlob(v8::StartupData, |
| 1566 const char*); | 1571 const char*); |
| 1567 | 1572 |
| 1568 DISALLOW_COPY_AND_ASSIGN(Isolate); | 1573 DISALLOW_COPY_AND_ASSIGN(Isolate); |
| 1569 }; | 1574 }; |
| 1570 | 1575 |
| 1571 | 1576 |
| 1572 #undef FIELD_ACCESSOR | 1577 #undef FIELD_ACCESSOR |
| 1573 #undef THREAD_LOCAL_TOP_ACCESSOR | 1578 #undef THREAD_LOCAL_TOP_ACCESSOR |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 | 1782 |
| 1778 EmbeddedVector<char, 128> filename_; | 1783 EmbeddedVector<char, 128> filename_; |
| 1779 FILE* file_; | 1784 FILE* file_; |
| 1780 int scope_depth_; | 1785 int scope_depth_; |
| 1781 }; | 1786 }; |
| 1782 | 1787 |
| 1783 } // namespace internal | 1788 } // namespace internal |
| 1784 } // namespace v8 | 1789 } // namespace v8 |
| 1785 | 1790 |
| 1786 #endif // V8_ISOLATE_H_ | 1791 #endif // V8_ISOLATE_H_ |
| OLD | NEW |