bump-allocate procs

This commit is contained in:
Folkert 2021-04-30 23:52:08 +02:00
parent ef60ee02ec
commit 58ba5c09fd
2 changed files with 4 additions and 4 deletions

View file

@ -288,8 +288,8 @@ pub struct Procs<'a> {
pub externals_we_need: MutMap<ModuleId, ExternalSpecializations>,
}
impl<'a> Default for Procs<'a> {
fn default() -> Self {
impl<'a> Procs<'a> {
pub fn new_in(arena: &'a Bump) -> Self {
Self {
partial_procs: MutMap::default(),
imported_module_thunks: MutSet::default(),