diff --git a/src/wasm/module-compiler.cc b/src/wasm/module-compiler.cc index f54c837b07..97c2a65b7a 100644 --- a/src/wasm/module-compiler.cc +++ b/src/wasm/module-compiler.cc @@ -2476,19 +2476,13 @@ AsyncCompileJob::~AsyncCompileJob() { for (auto d : deferred_handles_) delete d; } -void AsyncCompileJob::PrepareRuntimeObjects( +void AsyncCompileJob::CreateNativeModule( std::shared_ptr module) { // Embedder usage count for declared shared memories. if (module->has_shared_memory) { isolate_->CountUsage(v8::Isolate::UseCounterFeature::kWasmSharedMemory); } - // Create heap objects for script and module bytes to be stored in the - // module object. Asm.js is not compiled asynchronously. - Handle