Remove cgu_reuse_tracker from Session

This removes a bit of global mutable state
This commit is contained in:
bjorn3 2023-09-19 11:23:35 +00:00
parent 3dfd9dfe7c
commit e9fa2ca6ad
18 changed files with 284 additions and 279 deletions

View file

@ -1965,8 +1965,6 @@ impl<B: ExtraBackendMethods> OngoingCodegen<B> {
}
});
sess.cgu_reuse_tracker.check_expected_reuse(sess);
sess.abort_if_errors();
let work_products =