diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc index 8fd2b64845..10e4468155 100644 --- a/src/wasm/wasm-module.cc +++ b/src/wasm/wasm-module.cc @@ -2235,11 +2235,6 @@ class InstantiationHelper { // TODO(titzer): We compile JS->WASM wrappers for functions are // not exported but are in an exported table. This should be done // at module compile time and cached instead. - WasmInstance temp_instance(module_); - temp_instance.context = isolate_->native_context(); - temp_instance.mem_size = 0; - temp_instance.mem_start = nullptr; - temp_instance.globals_start = nullptr; Handle<Code> wrapper_code = js_to_wasm_cache_.CloneOrCompileJSToWasmWrapper(