Home
last modified time | relevance | path

Searched refs:native_module_ (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/wasm/
Dmodule-compiler.cc87 : native_module_(native_module.lock()) {} in BackgroundCompileScope()
90 DCHECK(native_module_); in native_module()
91 return native_module_.get(); in native_module()
99 std::shared_ptr<NativeModule> native_module_; member in v8::internal::wasm::__anond6e2be390111::BackgroundCompileScope
646 NativeModule* const native_module_; member in v8::internal::wasm::__anond6e2be390111::CompilationStateImpl
736 DCHECK(native_module_); in compilation_state()
737 return Impl(native_module_->compilation_state()); in compilation_state()
741 return native_module_ == nullptr || in cancelled()
742 Impl(native_module_->compilation_state())->cancelled(); in cancelled()
929 : native_module_(native_module) {} in CompilationUnitBuilder()
[all …]
Dwasm-serialization.cc290 const NativeModule* const native_module_; member in v8::internal::wasm::NativeModuleSerializer
297 : native_module_(module), code_table_(code_table), write_called_(false) { in NativeModuleSerializer()
298 DCHECK_NOT_NULL(native_module_); in NativeModuleSerializer()
326 writer->Write(native_module_->num_functions()); in WriteHeader()
327 writer->Write(native_module_->num_imported_functions()); in WriteHeader()
403 native_module_->GetFunctionIndexFromJumpTableSlot(orig_target); in WriteCode()
408 uint32_t tag = native_module_->GetRuntimeStubId(target); in WriteCode()
449 : native_module_(native_module), in WasmSerializer()
453 NativeModuleSerializer serializer(native_module_, VectorOf(code_table_)); in GetSerializedNativeModuleSize()
458 NativeModuleSerializer serializer(native_module_, VectorOf(code_table_)); in SerializeNativeModule()
[all …]
Dwasm-debug.cc249 : native_module_(native_module) {} in DebugInfoImpl()
286 auto* module = native_module_->module(); in GetFunctionAtAddress()
298 auto* module = native_module_->module(); in GetLocalScopeObject()
306 if (!GetLocalNameString(isolate, native_module_, function->func_index, i) in GetLocalScopeObject()
356 DecodeLocalNames(native_module_->wire_bytes())); in GetLocalName()
370 const auto& function = native_module_->module()->functions[func_index]; in DeadBreakpoint()
383 CompilationEnv env = native_module_->CreateCompilationEnv(); in RecompileLiftoffWithBreakpoints()
384 auto* function = &native_module_->module()->functions[func_index]; in RecompileLiftoffWithBreakpoints()
385 Vector<const uint8_t> wire_bytes = native_module_->wire_bytes(); in RecompileLiftoffWithBreakpoints()
397 native_module_->engine()->allocator(), &env, body, func_index, in RecompileLiftoffWithBreakpoints()
[all …]
Dwasm-code-manager.h160 NativeModule* native_module() const { return native_module_; } in native_module()
264 : native_module_(native_module), in WasmCode()
311 NativeModule* const native_module_ = nullptr; variable
896 NativeModule* native_module_;
924 : code_(code), native_module_(std::move(native_module)) { in GlobalWasmCodeRef()
940 const std::shared_ptr<NativeModule> native_module_; variable
Dwasm-serialization.h44 NativeModule* native_module_;
Dwasm-code-manager.cc292 WasmCode* code = native_module_->Lookup(target); in Validate()
300 WasmCode* code = native_module_->Lookup(target); in Validate()
340 if (native_module_->HasDebugInfo()) { in Print()
342 native_module_->GetDebugInfo()->GetDebugSideTableIfExists(this)) { in Print()
460 if (native_module_->engine()->AddPotentiallyDeadCode(this)) { in DecRefOnPotentiallyDeadCode()
2066 : native_module_(native_module) { in NativeModuleModificationScope()
2067 if (FLAG_wasm_write_protect_code_memory && native_module_ && in NativeModuleModificationScope()
2068 (native_module_->modification_scope_depth_++) == 0) { in NativeModuleModificationScope()
2069 bool success = native_module_->SetExecutable(false); in NativeModuleModificationScope()
2075 if (FLAG_wasm_write_protect_code_memory && native_module_ && in ~NativeModuleModificationScope()
[all …]
Dstreaming-decoder.cc318 : native_module_(std::move(native_module)), in TopTierCompiledCallback()
325 if (std::shared_ptr<NativeModule> native_module = native_module_.lock()) { in operator ()()
335 const std::weak_ptr<NativeModule> native_module_; member in v8::internal::wasm::__anonc4e742780111::TopTierCompiledCallback
Dmodule-compiler.h219 std::shared_ptr<NativeModule> native_module_; variable
Dwasm-engine.cc1188 native_module_(std::move(native_module)) {} in SampleTopTierCodeSizeTask()
1191 if (std::shared_ptr<NativeModule> native_module = native_module_.lock()) { in RunInternal()
1199 const std::weak_ptr<NativeModule> native_module_; member in v8::internal::wasm::__anonb7d73c060511::SampleTopTierCodeSizeTask
Dmodule-instantiate.cc69 native_module_(native_module), in CompileImportWrapperJob()
84 CompileImportWrapper(engine_, native_module_, counters_, key->kind, in Run()
93 NativeModule* const native_module_; member in v8::internal::wasm::__anon1f1ae6c20111::CompileImportWrapperJob
/external/v8/src/api/
Dapi.cc7327 : native_module_(std::move(native_module)), in CompiledWasmModule()
7329 CHECK_NOT_NULL(native_module_); in CompiledWasmModule()
7334 i::wasm::WasmSerializer wasm_serializer(native_module_.get()); in Serialize()
7343 i::Vector<const uint8_t> bytes_vec = native_module_->wire_bytes(); in GetWireBytesRef()
7364 i_isolate, compiled_module.native_module_, in FromCompiledModule()
/external/v8/include/
Dv8.h4896 const std::shared_ptr<internal::wasm::NativeModule> native_module_; variable