| 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 <queue> | 8 #include <queue> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class ContextSlotCache; | 51 class ContextSlotCache; |
| 52 class Counters; | 52 class Counters; |
| 53 class CpuFeatures; | 53 class CpuFeatures; |
| 54 class CpuProfiler; | 54 class CpuProfiler; |
| 55 class DeoptimizerData; | 55 class DeoptimizerData; |
| 56 class Deserializer; | 56 class Deserializer; |
| 57 class EmptyStatement; | 57 class EmptyStatement; |
| 58 class ExternalCallbackScope; | 58 class ExternalCallbackScope; |
| 59 class ExternalReferenceTable; | 59 class ExternalReferenceTable; |
| 60 class Factory; | 60 class Factory; |
| 61 class FunctionInfoListener; | |
| 62 class HandleScopeImplementer; | 61 class HandleScopeImplementer; |
| 63 class HeapProfiler; | 62 class HeapProfiler; |
| 64 class HStatistics; | 63 class HStatistics; |
| 65 class HTracer; | 64 class HTracer; |
| 66 class InlineRuntimeFunctionsTable; | 65 class InlineRuntimeFunctionsTable; |
| 67 class InnerPointerToCodeCache; | 66 class InnerPointerToCodeCache; |
| 68 class Logger; | 67 class Logger; |
| 69 class MaterializedObjectStore; | 68 class MaterializedObjectStore; |
| 70 class CodeAgingHelper; | 69 class CodeAgingHelper; |
| 71 class RegExpStack; | 70 class RegExpStack; |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 375 |
| 377 #define ISOLATE_INIT_LIST(V) \ | 376 #define ISOLATE_INIT_LIST(V) \ |
| 378 /* Assembler state. */ \ | 377 /* Assembler state. */ \ |
| 379 V(FatalErrorCallback, exception_behavior, NULL) \ | 378 V(FatalErrorCallback, exception_behavior, NULL) \ |
| 380 V(LogEventCallback, event_logger, NULL) \ | 379 V(LogEventCallback, event_logger, NULL) \ |
| 381 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ | 380 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ |
| 382 /* To distinguish the function templates, so that we can find them in the */ \ | 381 /* To distinguish the function templates, so that we can find them in the */ \ |
| 383 /* function cache of the native context. */ \ | 382 /* function cache of the native context. */ \ |
| 384 V(int, next_serial_number, 0) \ | 383 V(int, next_serial_number, 0) \ |
| 385 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ | 384 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ |
| 386 /* Part of the state of liveedit. */ \ | |
| 387 V(FunctionInfoListener*, active_function_info_listener, NULL) \ | |
| 388 /* State for Relocatable. */ \ | 385 /* State for Relocatable. */ \ |
| 389 V(Relocatable*, relocatable_top, NULL) \ | 386 V(Relocatable*, relocatable_top, NULL) \ |
| 390 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ | 387 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ |
| 391 V(Object*, string_stream_current_security_token, NULL) \ | 388 V(Object*, string_stream_current_security_token, NULL) \ |
| 392 V(ExternalReferenceTable*, external_reference_table, NULL) \ | 389 V(ExternalReferenceTable*, external_reference_table, NULL) \ |
| 393 V(HashMap*, external_reference_map, NULL) \ | 390 V(HashMap*, external_reference_map, NULL) \ |
| 394 V(HashMap*, root_index_map, NULL) \ | 391 V(HashMap*, root_index_map, NULL) \ |
| 395 V(int, pending_microtask_count, 0) \ | 392 V(int, pending_microtask_count, 0) \ |
| 396 V(HStatistics*, hstatistics, NULL) \ | 393 V(HStatistics*, hstatistics, NULL) \ |
| 397 V(CompilationStatistics*, turbo_statistics, NULL) \ | 394 V(CompilationStatistics*, turbo_statistics, NULL) \ |
| (...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1596 | 1593 |
| 1597 EmbeddedVector<char, 128> filename_; | 1594 EmbeddedVector<char, 128> filename_; |
| 1598 FILE* file_; | 1595 FILE* file_; |
| 1599 int scope_depth_; | 1596 int scope_depth_; |
| 1600 }; | 1597 }; |
| 1601 | 1598 |
| 1602 } // namespace internal | 1599 } // namespace internal |
| 1603 } // namespace v8 | 1600 } // namespace v8 |
| 1604 | 1601 |
| 1605 #endif // V8_ISOLATE_H_ | 1602 #endif // V8_ISOLATE_H_ |
| OLD | NEW |