| 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 V(int, suffix_table, (kBMMaxShift + 1)) \ | 385 V(int, suffix_table, (kBMMaxShift + 1)) \ |
| 386 V(uint32_t, private_random_seed, 2) \ | 386 V(uint32_t, private_random_seed, 2) \ |
| 387 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) | 387 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
| 388 | 388 |
| 389 typedef List<HeapObject*> DebugObjectCache; | 389 typedef List<HeapObject*> DebugObjectCache; |
| 390 | 390 |
| 391 #define ISOLATE_INIT_LIST(V) \ | 391 #define ISOLATE_INIT_LIST(V) \ |
| 392 /* Assembler state. */ \ | 392 /* Assembler state. */ \ |
| 393 V(FatalErrorCallback, exception_behavior, nullptr) \ | 393 V(FatalErrorCallback, exception_behavior, nullptr) \ |
| 394 V(OOMErrorCallback, oom_behavior, nullptr) \ | 394 V(OOMErrorCallback, oom_behavior, nullptr) \ |
| 395 V(AsmJsWarningCallback, asmjs_warning_behavior, nullptr) \ |
| 395 V(LogEventCallback, event_logger, nullptr) \ | 396 V(LogEventCallback, event_logger, nullptr) \ |
| 396 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ | 397 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ |
| 397 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ | 398 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ |
| 398 nullptr) \ | 399 nullptr) \ |
| 399 /* State for Relocatable. */ \ | 400 /* State for Relocatable. */ \ |
| 400 V(Relocatable*, relocatable_top, nullptr) \ | 401 V(Relocatable*, relocatable_top, nullptr) \ |
| 401 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ | 402 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ |
| 402 V(Object*, string_stream_current_security_token, nullptr) \ | 403 V(Object*, string_stream_current_security_token, nullptr) \ |
| 403 V(ExternalReferenceTable*, external_reference_table, nullptr) \ | 404 V(ExternalReferenceTable*, external_reference_table, nullptr) \ |
| 404 V(intptr_t*, api_external_references, nullptr) \ | 405 V(intptr_t*, api_external_references, nullptr) \ |
| (...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1682 | 1683 |
| 1683 EmbeddedVector<char, 128> filename_; | 1684 EmbeddedVector<char, 128> filename_; |
| 1684 FILE* file_; | 1685 FILE* file_; |
| 1685 int scope_depth_; | 1686 int scope_depth_; |
| 1686 }; | 1687 }; |
| 1687 | 1688 |
| 1688 } // namespace internal | 1689 } // namespace internal |
| 1689 } // namespace v8 | 1690 } // namespace v8 |
| 1690 | 1691 |
| 1691 #endif // V8_ISOLATE_H_ | 1692 #endif // V8_ISOLATE_H_ |
| OLD | NEW |