Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: src/isolate.h

Issue 2773063002: [wasm] Override mechanism for wasm js APIs (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) \ 398 V(AllowWasmCompileCallback, allow_wasm_compile_callback, nullptr) \
399 V(AllowWasmInstantiateCallback, allow_wasm_instantiate_callback, nullptr) \ 399 V(AllowWasmInstantiateCallback, allow_wasm_instantiate_callback, nullptr) \
400 V(ExtensionCallback, wasm_module_callback, &NoExtension) \
401 V(ExtensionCallback, wasm_instance_callback, &NoExtension) \
402 V(ExtensionCallback, wasm_compile_callback, &NoExtension) \
403 V(ExtensionCallback, wasm_instantiate_callback, &NoExtension) \
400 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ 404 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \
401 nullptr) \ 405 nullptr) \
402 /* State for Relocatable. */ \ 406 /* State for Relocatable. */ \
403 V(Relocatable*, relocatable_top, nullptr) \ 407 V(Relocatable*, relocatable_top, nullptr) \
404 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ 408 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \
405 V(Object*, string_stream_current_security_token, nullptr) \ 409 V(Object*, string_stream_current_security_token, nullptr) \
406 V(ExternalReferenceTable*, external_reference_table, nullptr) \ 410 V(ExternalReferenceTable*, external_reference_table, nullptr) \
407 V(intptr_t*, api_external_references, nullptr) \ 411 V(intptr_t*, api_external_references, nullptr) \
408 V(AddressToIndexHashMap*, external_reference_map, nullptr) \ 412 V(AddressToIndexHashMap*, external_reference_map, nullptr) \
409 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \ 413 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 1778
1775 EmbeddedVector<char, 128> filename_; 1779 EmbeddedVector<char, 128> filename_;
1776 FILE* file_; 1780 FILE* file_;
1777 int scope_depth_; 1781 int scope_depth_;
1778 }; 1782 };
1779 1783
1780 } // namespace internal 1784 } // namespace internal
1781 } // namespace v8 1785 } // namespace v8
1782 1786
1783 #endif // V8_ISOLATE_H_ 1787 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698