diff --git a/patches/v8/src-wasm-module-compiler.cc.patch b/patches/v8/src-wasm-module-compiler.cc.patch deleted file mode 100644 index ba201d1f62a1..000000000000 --- a/patches/v8/src-wasm-module-compiler.cc.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/wasm/module-compiler.cc b/src/wasm/module-compiler.cc -index e49f2caa0e67553c4b7d5f370d2364f79c29289f..2d66102c1f5f96552031a2d61dc9f8046e389634 100644 ---- a/src/wasm/module-compiler.cc -+++ b/src/wasm/module-compiler.cc -@@ -3045,13 +3045,13 @@ void CompilationStateImpl::InitializeCompilationProgressAfterDeserialization( - } - compilation_progress_.assign(module->num_declared_functions, - kProgressAfterDeserialization); -- uint32_t num_imported_functions = module->num_imported_functions; - for (auto func_index : missing_functions) { - if (FLAG_wasm_lazy_compilation) { -- native_module_->UseLazyStub(num_imported_functions + func_index); -+ native_module_->UseLazyStub(func_index); - } -- compilation_progress_[func_index] = SetupCompilationProgressForFunction( -- lazy_module, module, enabled_features, func_index); -+ compilation_progress_[declared_function_index(module, func_index)] = -+ SetupCompilationProgressForFunction(lazy_module, module, -+ enabled_features, func_index); - } - } - auto builder = std::make_unique(native_module_);