Skip to content

Commit

Permalink
Auto merge of #81101 - tmiasko:combine-now, r=nagisa
Browse files Browse the repository at this point in the history
Combine instructions immediately
  • Loading branch information
bors committed Jan 22, 2021
2 parents bbc01bb + 508eec4 commit f2de221
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 355 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/mir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
Loading

0 comments on commit f2de221

Please sign in to comment.