ssa: make block with label name for debug readable

This commit is contained in:
Li Jie
2024-08-03 20:51:43 +08:00
parent 0687efaec6
commit cdfa0166bd
4 changed files with 11 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ func (b Builder) setBlockMoveLast(blk BasicBlock) (next BasicBlock) {
impl := b.impl
next = b.Func.MakeBlock()
next = b.Func.MakeBlock("")
impl.SetInsertPointAtEnd(next.last)
impl.Insert(last)