Skip to content

Commit

Permalink
cmd/compile: update some liveness comments
Browse files Browse the repository at this point in the history
These refer to old function names.

Change-Id: Ic4507ff836b442e953a21c8a2d09def54e1e43a7
Reviewed-on: https://go-review.googlesource.com/108495
Run-TryBot: Austin Clements <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: David Chase <[email protected]>
  • Loading branch information
aclements committed Apr 20, 2018
1 parent d758363 commit c1a466b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cmd/compile/internal/gc/plive.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ import (

// BlockEffects summarizes the liveness effects on an SSA block.
type BlockEffects struct {
lastbitmapindex int // for livenessepilogue
lastbitmapindex int // for Liveness.epilogue

// Computed during livenessprologue using only the content of
// Computed during Liveness.prologue using only the content of
// individual blocks:
//
// uevar: upward exposed variables (used before set in block)
Expand All @@ -98,7 +98,7 @@ type BlockEffects struct {
varkill bvec
avarinit bvec

// Computed during livenesssolve using control flow information:
// Computed during Liveness.solve using control flow information:
//
// livein: variables live at block entry
// liveout: variables live at block exit
Expand Down Expand Up @@ -648,7 +648,7 @@ func (lv *Liveness) epilogue() {
be := lv.blockEffects(b)

// Compute avarinitany and avarinitall for entry to block.
// This duplicates information known during livenesssolve
// This duplicates information known during Liveness.solve
// but avoids storing two more vectors for each block.
lv.avarinitanyall(b, any, all)

Expand Down

0 comments on commit c1a466b

Please sign in to comment.