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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) | 388 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
389 | 389 |
390 typedef List<HeapObject*> DebugObjectCache; | 390 typedef List<HeapObject*> DebugObjectCache; |
391 | 391 |
392 #define ISOLATE_INIT_LIST(V) \ | 392 #define ISOLATE_INIT_LIST(V) \ |
393 /* Assembler state. */ \ | 393 /* Assembler state. */ \ |
394 V(FatalErrorCallback, exception_behavior, nullptr) \ | 394 V(FatalErrorCallback, exception_behavior, nullptr) \ |
395 V(OOMErrorCallback, oom_behavior, nullptr) \ | 395 V(OOMErrorCallback, oom_behavior, nullptr) \ |
396 V(LogEventCallback, event_logger, nullptr) \ | 396 V(LogEventCallback, event_logger, nullptr) \ |
397 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ | 397 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ |
398 V(AllowWasmCompileCallback, allow_wasm_compile_callback, nullptr) \ | |
399 V(AllowWasmInstantiateCallback, allow_wasm_instantiate_callback, nullptr) \ | |
400 V(ExtensionCallback, wasm_module_callback, &NoExtension) \ | 398 V(ExtensionCallback, wasm_module_callback, &NoExtension) \ |
401 V(ExtensionCallback, wasm_instance_callback, &NoExtension) \ | 399 V(ExtensionCallback, wasm_instance_callback, &NoExtension) \ |
402 V(ExtensionCallback, wasm_compile_callback, &NoExtension) \ | 400 V(ExtensionCallback, wasm_compile_callback, &NoExtension) \ |
403 V(ExtensionCallback, wasm_instantiate_callback, &NoExtension) \ | 401 V(ExtensionCallback, wasm_instantiate_callback, &NoExtension) \ |
404 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ | 402 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ |
405 nullptr) \ | 403 nullptr) \ |
406 /* State for Relocatable. */ \ | 404 /* State for Relocatable. */ \ |
407 V(Relocatable*, relocatable_top, nullptr) \ | 405 V(Relocatable*, relocatable_top, nullptr) \ |
408 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ | 406 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ |
409 V(Object*, string_stream_current_security_token, nullptr) \ | 407 V(Object*, string_stream_current_security_token, nullptr) \ |
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 | 1776 |
1779 EmbeddedVector<char, 128> filename_; | 1777 EmbeddedVector<char, 128> filename_; |
1780 FILE* file_; | 1778 FILE* file_; |
1781 int scope_depth_; | 1779 int scope_depth_; |
1782 }; | 1780 }; |
1783 | 1781 |
1784 } // namespace internal | 1782 } // namespace internal |
1785 } // namespace v8 | 1783 } // namespace v8 |
1786 | 1784 |
1787 #endif // V8_ISOLATE_H_ | 1785 #endif // V8_ISOLATE_H_ |
OLD | NEW |