add constructor info in more cases

This commit is contained in:
Folkert 2021-05-26 21:51:18 +02:00
parent 9bbed89e6a
commit fdfc99e4e8
2 changed files with 38 additions and 6 deletions

View file

@ -916,7 +916,14 @@ impl<'a> BranchInfo<'a> {
.append(", tag_id: ")
.append(format!("{}", tag_id))
.append("} "),
_ => alloc.text(""),
_ => {
if PRETTY_PRINT_IR_SYMBOLS {
alloc.text(" <no branch info>")
} else {
alloc.text("")
}
}
}
}
}