Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 47a2a25211b38051d5f37aedf651a0b0ef188024..9c2ca4aefcf84d9ba2e849410191d8037174798d 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8724,17 +8724,6 @@ void Isolate::SetAllowCodeGenerationFromStringsCallback( |
isolate->set_allow_code_gen_callback(callback); |
} |
-void Isolate::SetAllowWasmCompileCallback(AllowWasmCompileCallback callback) { |
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
- isolate->set_allow_wasm_compile_callback(callback); |
-} |
- |
-void Isolate::SetAllowWasmInstantiateCallback( |
- AllowWasmInstantiateCallback callback) { |
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
- isolate->set_allow_wasm_instantiate_callback(callback); |
-} |
- |
#define CALLBACK_SETTER(ExternalName, Type, InternalName) \ |
void Isolate::Set##ExternalName(Type callback) { \ |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); \ |