From c1a466b158d5bfa47993d52e5151588d23c45ab0 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 5 Apr 2018 17:35:13 -0400 Subject: [PATCH] cmd/compile: update some liveness comments These refer to old function names. Change-Id: Ic4507ff836b442e953a21c8a2d09def54e1e43a7 Reviewed-on: https://go-review.googlesource.com/108495 Run-TryBot: Austin Clements TryBot-Result: Gobot Gobot Reviewed-by: David Chase --- src/cmd/compile/internal/gc/plive.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmd/compile/internal/gc/plive.go b/src/cmd/compile/internal/gc/plive.go index 03998e6790..310f25c17e 100644 --- a/src/cmd/compile/internal/gc/plive.go +++ b/src/cmd/compile/internal/gc/plive.go @@ -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) @@ -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 @@ -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) -- 2.48.1