Lines Matching refs:module_
984 module_(std::move(module)), in NativeModule()
987 bounds_checks_(GetBoundsChecks(module_.get())) { in NativeModule()
997 DCHECK_NOT_NULL(module_); in NativeModule()
998 if (module_->num_declared_functions > 0) { in NativeModule()
1000 std::make_unique<WasmCode*[]>(module_->num_declared_functions); in NativeModule()
1002 std::make_unique<uint32_t[]>(module_->num_declared_functions); in NativeModule()
1004 std::fill_n(tiering_budgets_.get(), module_->num_declared_functions, in NativeModule()
1019 DCHECK_LE(module_->num_declared_functions, max_functions); in ReserveCodeTableForTesting()
1021 if (module_->num_declared_functions > 0) { in ReserveCodeTableForTesting()
1023 module_->num_declared_functions * sizeof(WasmCode*)); in ReserveCodeTableForTesting()
1043 module_->num_declared_functions); in LogWasmCodes()
1156 DCHECK_LE(module_->num_imported_functions, func_index); in UseLazyStub()
1158 module_->num_imported_functions + module_->num_declared_functions); in UseLazyStub()
1165 uint32_t num_slots = module_->num_declared_functions; in UseLazyStub()
1174 module_->num_imported_functions, in UseLazyStub()
1327 if (code->index() < static_cast<int>(module_->num_imported_functions)) { in PublishCodeLocked()
1390 DCHECK_LE(module_->num_imported_functions, code->index()); in ReinstallDebugCode()
1441 WasmCode** end = start + module_->num_declared_functions; in SnapshotCodeTable()
1559 DCHECK_LT(slot_index, module_->num_declared_functions); in PatchJumpTableLocked()
1608 const uint32_t num_wasm_functions = module_->num_declared_functions; in AddCodeSpaceLocked()
1850 DCHECK_LT(slot_idx, module_->num_declared_functions); in GetFunctionIndexFromJumpTableSlot()
1854 return module_->num_imported_functions + slot_idx; in GetFunctionIndexFromJumpTableSlot()