Lines Matching refs:native_modules
342 std::unordered_set<NativeModule*> native_modules; member
522 DCHECK_EQ(1, isolates_[isolate]->native_modules.count(native_module.get())); in SyncCompile()
661 std::vector<std::shared_ptr<NativeModule>> native_modules; in TierDownAllModulesPerIsolate() local
666 for (auto* native_module : isolates_[isolate]->native_modules) { in TierDownAllModulesPerIsolate()
670 native_modules.emplace_back(std::move(shared_ptr)); in TierDownAllModulesPerIsolate()
674 for (auto& native_module : native_modules) { in TierDownAllModulesPerIsolate()
683 std::vector<std::pair<std::shared_ptr<NativeModule>, bool>> native_modules; in TierUpAllModulesPerIsolate() local
695 for (auto* native_module : isolates_[isolate]->native_modules) { in TierUpAllModulesPerIsolate()
704 native_modules.emplace_back(std::move(shared_ptr), tier_up); in TierUpAllModulesPerIsolate()
707 for (auto& entry : native_modules) { in TierUpAllModulesPerIsolate()
824 isolates_[isolate]->native_modules.insert(native_module); in ImportNativeModule()
944 for (auto* native_module : engine->isolates_[isolate]->native_modules) { in AddIsolate()
969 for (auto* native_module : info->native_modules) { in RemoveIsolate()
1064 auto& modules_per_isolate = isolates_[isolate]->native_modules; in NewNativeModule()
1088 isolates_[isolate]->native_modules.insert(native_module.get()); in MaybeGetNativeModule()
1117 isolates_[isolate]->native_modules.insert(native_module->get()); in UpdateNativeModuleCache()
1143 DCHECK_EQ(1, info->native_modules.count(native_module)); in FreeNativeModule()
1144 info->native_modules.erase(native_module); in FreeNativeModule()