1
Fork 0

change smir to StableMir

This commit is contained in:
Oğuz Ağcayazı 2023-11-14 16:21:55 +03:00 committed by ouz-a
parent c821603484
commit 3883645a9b
3 changed files with 35 additions and 23 deletions

View file

@ -326,7 +326,7 @@ pub fn print<'tcx>(sess: &Session, ppm: PpMode, ex: PrintExtra<'tcx>) {
write_mir_graphviz(ex.tcx(), None, &mut out).unwrap();
String::from_utf8(out).unwrap()
}
Smir => {
StableMir => {
let mut out = Vec::new();
write_smir_pretty(ex.tcx(), &mut out).unwrap();
String::from_utf8(out).unwrap()