Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub fn run_inlining(
}
}
}
env.filter_functions(|fun_id: &QualifiedFunId| !inline_funs.contains(fun_id));
env.retain_functions(|fun_id: &QualifiedFunId| !inline_funs.contains(fun_id));
}
}

Expand Down
14 changes: 0 additions & 14 deletions third_party/move/move-model/src/builder/module_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4838,14 +4838,7 @@ impl ModuleBuilder<'_, '_> {
spec: spec.into(),
def,
called_funs,
calling_funs: RefCell::default(),
transitive_closure_of_called_funs: RefCell::default(),
used_funs,
using_funs: RefCell::default(),
transitive_closure_of_used_funs: RefCell::default(),
used_functions_with_transitive_inline: RefCell::default(),
using_functions_with_transitive_inline: RefCell::default(),
used_structs: RefCell::default(),
};
function_data.insert(fun_id, data);
}
Expand Down Expand Up @@ -4885,14 +4878,7 @@ impl ModuleBuilder<'_, '_> {
spec: spec.into(),
def: None,
called_funs: Some(Default::default()),
calling_funs: RefCell::default(),
transitive_closure_of_called_funs: RefCell::default(),
used_funs: Some(Default::default()),
using_funs: RefCell::default(),
transitive_closure_of_used_funs: RefCell::default(),
used_functions_with_transitive_inline: RefCell::default(),
using_functions_with_transitive_inline: RefCell::default(),
used_structs: RefCell::default(),
};
function_data.insert(fun_id, data);
}
Expand Down
Loading
Loading