Combine instructions immediately

No functional changes intended
This commit is contained in:
Tomasz Miąsko 2021-01-18 00:00:00 +00:00
parent a9292d871c
commit 508eec49e9
2 changed files with 91 additions and 159 deletions

View file

@ -54,7 +54,7 @@ mod type_foldable;
pub mod visit;
/// Types for locals
type LocalDecls<'tcx> = IndexVec<Local, LocalDecl<'tcx>>;
pub type LocalDecls<'tcx> = IndexVec<Local, LocalDecl<'tcx>>;
pub trait HasLocalDecls<'tcx> {
fn local_decls(&self) -> &LocalDecls<'tcx>;