We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e130dcf commit 85f93c8Copy full SHA for 85f93c8
src/cmd/compile/internal/gc/plive.go
@@ -692,7 +692,7 @@ func (lv *Liveness) epilogue() {
692
for _, b := range lv.f.Blocks {
693
be := lv.blockEffects(b)
694
695
- // walk backward, emit pcdata and populate the maps
+ // walk backward, construct maps at each safe point
696
index := int32(be.lastbitmapindex)
697
if index < 0 {
698
// the first block we encounter should have the ATEXT so
@@ -1012,7 +1012,8 @@ Outer:
1012
}
1013
lv.livevars = lv.livevars[:uniq]
1014
1015
- // Rewrite PCDATA instructions to use new numbering.
+ // Record compacted stack map indexes for each value.
1016
+ // These will later become PCDATA instructions.
1017
lv.showlive(nil, lv.livevars[0])
1018
pos := 1
1019
lv.stackMapIndex = make(map[*ssa.Value]int)
0 commit comments