Home
last modified time | relevance | path

Searched refs:shared_native_module (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-serialization.cc868 auto shared_native_module = wasm_engine->MaybeGetNativeModule( in DeserializeNativeModule() local
870 if (shared_native_module == nullptr) { in DeserializeNativeModule()
878 shared_native_module = wasm_engine->NewNativeModule( in DeserializeNativeModule()
885 shared_native_module->compilation_state()->set_compilation_id(-2); in DeserializeNativeModule()
886 shared_native_module->SetWireBytes(std::move(owned_wire_bytes)); in DeserializeNativeModule()
888 NativeModuleDeserializer deserializer(shared_native_module.get()); in DeserializeNativeModule()
892 wasm_engine->UpdateNativeModuleCache(error, &shared_native_module, in DeserializeNativeModule()
896 shared_native_module->compilation_state()->InitializeAfterDeserialization( in DeserializeNativeModule()
898 wasm_engine->UpdateNativeModuleCache(error, &shared_native_module, isolate); in DeserializeNativeModule()
902 CompileJsToWasmWrappers(isolate, shared_native_module->module(), in DeserializeNativeModule()
[all …]
Dwasm-engine.cc208 if (auto shared_native_module = it->second.value().lock()) { in MaybeGetNativeModule() local
209 DCHECK_EQ(shared_native_module->wire_bytes(), wire_bytes); in MaybeGetNativeModule()
210 return shared_native_module; in MaybeGetNativeModule()
770 return module_object->shared_native_module(); in ExportNativeModule()
861 Isolate* isolate, std::shared_ptr<NativeModule> shared_native_module, in ImportNativeModule() argument
863 NativeModule* native_module = shared_native_module.get(); in ImportNativeModule()
866 GetOrCreateScript(isolate, shared_native_module, source_url); in ImportNativeModule()
870 isolate, std::move(shared_native_module), script, export_wrappers); in ImportNativeModule()
Dsync-streaming-decoder.cc72 module_compiled_callback_(module->shared_native_module()); in Finish()
Dwasm-objects-inl.h95 WasmModuleObject::shared_native_module() const { in shared_native_module() function
Dwasm-objects.h117 inline const std::shared_ptr<wasm::NativeModule>& shared_native_module()
Dmodule-compiler.cc3027 job_->native_module_ = job_->module_object_->shared_native_module(); in Deserialize()
/third_party/node/deps/v8/src/execution/
Disolate.cc807 instance->module_object().shared_native_module()); in AppendWasmFrame()
/third_party/node/deps/v8/src/api/
Dapi.cc7829 return CompiledWasmModule(std::move(obj->shared_native_module()), in GetCompiledModule()