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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index a1e8c3161faa5c2b56628851695f2ffba39e1974..63d58fd29c896fa03722316bbe3c1d11cadc6c9c 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -397,6 +397,10 @@ typedef List<HeapObject*> DebugObjectCache;
V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \
V(AllowWasmCompileCallback, allow_wasm_compile_callback, nullptr) \
V(AllowWasmInstantiateCallback, allow_wasm_instantiate_callback, nullptr) \
+ V(ExtensionCallback, wasm_module_callback, &NoExtension) \
+ V(ExtensionCallback, wasm_instance_callback, &NoExtension) \
+ V(ExtensionCallback, wasm_compile_callback, &NoExtension) \
+ V(ExtensionCallback, wasm_instantiate_callback, &NoExtension) \
V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \
nullptr) \
/* State for Relocatable. */ \

Powered by Google App Engine
This is Rietveld 408576698