Lines Matching defs:module
114 if (instance->module()->origin == i::wasm::kWasmOrigin) {
678 switch (script->wasm_native_module()->module()->debug_symbols.type) {
695 script->wasm_native_module()->module()->debug_symbols;
710 const i::wasm::WasmModule* module = native_module->module();
711 DCHECK_GE(i::kMaxInt, module->functions.size());
712 return static_cast<int>(module->functions.size());
720 const i::wasm::WasmModule* module = native_module->module();
721 DCHECK_GE(i::kMaxInt, module->num_imported_functions);
722 return static_cast<int>(module->num_imported_functions);
730 const i::wasm::WasmModule* module = native_module->module();
732 DCHECK_GT(module->functions.size(), function_index);
733 const i::wasm::WasmFunction& func = module->functions[function_index];
745 const i::wasm::WasmModule* module = native_module->module();
748 return i::wasm::GetContainingWasmFunction(module, byte_offset);
756 const i::wasm::WasmModule* module = native_module->module();
758 DCHECK_GT(module->functions.size(), function_index);
759 const i::wasm::WasmFunction& func = module->functions[function_index];
763 // TODO(herhut): Maybe also take module, name and signature into account.
772 const i::wasm::WasmModule* module = native_module->module();
774 // If the module contains at least one function, the code offset must have
776 DCHECK_IMPLIES(module->num_declared_functions > 0,
777 module->code.offset() != 0);
778 return module->code.offset();