remove headers_parsed

This commit is contained in:
Folkert 2021-12-05 15:13:32 +01:00
parent 9a74bf1f39
commit e0468363fb

View file

@ -880,8 +880,6 @@ struct State<'a> {
pub platform_path: PlatformPath<'a>, pub platform_path: PlatformPath<'a>,
pub ptr_bytes: u32, pub ptr_bytes: u32,
pub headers_parsed: MutSet<ModuleId>,
pub module_cache: ModuleCache<'a>, pub module_cache: ModuleCache<'a>,
pub dependencies: Dependencies<'a>, pub dependencies: Dependencies<'a>,
pub procedures: MutMap<(Symbol, ProcLayout<'a>), Proc<'a>>, pub procedures: MutMap<(Symbol, ProcLayout<'a>), Proc<'a>>,
@ -1417,11 +1415,6 @@ where
// reference to each worker. (Slices are Sync, but bumpalo Vecs are not.) // reference to each worker. (Slices are Sync, but bumpalo Vecs are not.)
let stealers = stealers.into_bump_slice(); let stealers = stealers.into_bump_slice();
let mut headers_parsed = MutSet::default();
// We've already parsed the root's header. (But only its header, so far.)
headers_parsed.insert(root_id);
let mut loading_started = MutSet::default(); let mut loading_started = MutSet::default();
// If the root module we're still processing happens to be an interface, // If the root module we're still processing happens to be an interface,
@ -1529,7 +1522,6 @@ where
procedures: MutMap::default(), procedures: MutMap::default(),
exposed_to_host: MutMap::default(), exposed_to_host: MutMap::default(),
exposed_types, exposed_types,
headers_parsed,
loading_started, loading_started,
arc_modules, arc_modules,
arc_shorthands, arc_shorthands,