Remove cgu_reuse_tracker from Session
This removes a bit of global mutable state
This commit is contained in:
parent
3dfd9dfe7c
commit
e9fa2ca6ad
18 changed files with 284 additions and 279 deletions
|
@ -1965,8 +1965,6 @@ impl<B: ExtraBackendMethods> OngoingCodegen<B> {
|
|||
}
|
||||
});
|
||||
|
||||
sess.cgu_reuse_tracker.check_expected_reuse(sess);
|
||||
|
||||
sess.abort_if_errors();
|
||||
|
||||
let work_products =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue