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 |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 namespace v8 { | 28 namespace v8 { |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 class RandomNumberGenerator; | 31 class RandomNumberGenerator; |
32 } | 32 } |
33 | 33 |
34 namespace internal { | 34 namespace internal { |
35 | 35 |
36 class AccessCompilerData; | 36 class AccessCompilerData; |
| 37 class AddressToIndexHashMap; |
37 class BasicBlockProfiler; | 38 class BasicBlockProfiler; |
38 class Bootstrapper; | 39 class Bootstrapper; |
39 class CancelableTaskManager; | 40 class CancelableTaskManager; |
40 class CallInterfaceDescriptorData; | 41 class CallInterfaceDescriptorData; |
41 class CodeAgingHelper; | 42 class CodeAgingHelper; |
42 class CodeEventDispatcher; | 43 class CodeEventDispatcher; |
43 class CodeGenerator; | 44 class CodeGenerator; |
44 class CodeRange; | 45 class CodeRange; |
45 class CodeStubDescriptor; | 46 class CodeStubDescriptor; |
46 class CodeTracer; | 47 class CodeTracer; |
47 class CompilationCache; | 48 class CompilationCache; |
48 class CompilerDispatcherTracer; | 49 class CompilerDispatcherTracer; |
49 class CompilationStatistics; | 50 class CompilationStatistics; |
50 class ContextSlotCache; | 51 class ContextSlotCache; |
51 class Counters; | 52 class Counters; |
52 class CpuFeatures; | 53 class CpuFeatures; |
53 class CpuProfiler; | 54 class CpuProfiler; |
54 class DeoptimizerData; | 55 class DeoptimizerData; |
55 class DescriptorLookupCache; | 56 class DescriptorLookupCache; |
56 class Deserializer; | 57 class Deserializer; |
57 class EmptyStatement; | 58 class EmptyStatement; |
58 class ExternalCallbackScope; | 59 class ExternalCallbackScope; |
59 class ExternalReferenceTable; | 60 class ExternalReferenceTable; |
60 class Factory; | 61 class Factory; |
61 class HandleScopeImplementer; | 62 class HandleScopeImplementer; |
| 63 class HeapObjectToIndexHashMap; |
62 class HeapProfiler; | 64 class HeapProfiler; |
63 class HStatistics; | 65 class HStatistics; |
64 class HTracer; | 66 class HTracer; |
65 class InlineRuntimeFunctionsTable; | 67 class InlineRuntimeFunctionsTable; |
66 class InnerPointerToCodeCache; | 68 class InnerPointerToCodeCache; |
67 class Logger; | 69 class Logger; |
68 class MaterializedObjectStore; | 70 class MaterializedObjectStore; |
69 class OptimizingCompileDispatcher; | 71 class OptimizingCompileDispatcher; |
70 class RegExpStack; | 72 class RegExpStack; |
71 class RuntimeProfiler; | 73 class RuntimeProfiler; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 V(LogEventCallback, event_logger, nullptr) \ | 395 V(LogEventCallback, event_logger, nullptr) \ |
394 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ | 396 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ |
395 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ | 397 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ |
396 nullptr) \ | 398 nullptr) \ |
397 /* State for Relocatable. */ \ | 399 /* State for Relocatable. */ \ |
398 V(Relocatable*, relocatable_top, nullptr) \ | 400 V(Relocatable*, relocatable_top, nullptr) \ |
399 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ | 401 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ |
400 V(Object*, string_stream_current_security_token, nullptr) \ | 402 V(Object*, string_stream_current_security_token, nullptr) \ |
401 V(ExternalReferenceTable*, external_reference_table, nullptr) \ | 403 V(ExternalReferenceTable*, external_reference_table, nullptr) \ |
402 V(intptr_t*, api_external_references, nullptr) \ | 404 V(intptr_t*, api_external_references, nullptr) \ |
403 V(base::HashMap*, external_reference_map, nullptr) \ | 405 V(AddressToIndexHashMap*, external_reference_map, nullptr) \ |
404 V(base::HashMap*, root_index_map, nullptr) \ | 406 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \ |
405 V(v8::DeserializeInternalFieldsCallback, \ | 407 V(v8::DeserializeInternalFieldsCallback, \ |
406 deserialize_internal_fields_callback, nullptr) \ | 408 deserialize_internal_fields_callback, nullptr) \ |
407 V(int, pending_microtask_count, 0) \ | 409 V(int, pending_microtask_count, 0) \ |
408 V(int, debug_microtask_count, 0) \ | 410 V(int, debug_microtask_count, 0) \ |
409 V(HStatistics*, hstatistics, nullptr) \ | 411 V(HStatistics*, hstatistics, nullptr) \ |
410 V(CompilationStatistics*, turbo_statistics, nullptr) \ | 412 V(CompilationStatistics*, turbo_statistics, nullptr) \ |
411 V(HTracer*, htracer, nullptr) \ | 413 V(HTracer*, htracer, nullptr) \ |
412 V(CodeTracer*, code_tracer, nullptr) \ | 414 V(CodeTracer*, code_tracer, nullptr) \ |
413 V(bool, fp_stubs_generated, false) \ | 415 V(bool, fp_stubs_generated, false) \ |
414 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ | 416 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ |
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 | 1673 |
1672 EmbeddedVector<char, 128> filename_; | 1674 EmbeddedVector<char, 128> filename_; |
1673 FILE* file_; | 1675 FILE* file_; |
1674 int scope_depth_; | 1676 int scope_depth_; |
1675 }; | 1677 }; |
1676 | 1678 |
1677 } // namespace internal | 1679 } // namespace internal |
1678 } // namespace v8 | 1680 } // namespace v8 |
1679 | 1681 |
1680 #endif // V8_ISOLATE_H_ | 1682 #endif // V8_ISOLATE_H_ |
OLD | NEW |