]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: update stale comment in prove
authorzdjones <zachj1@gmail.com>
Sun, 31 Mar 2019 21:33:52 +0000 (22:33 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 31 Mar 2019 23:26:07 +0000 (23:26 +0000)
This is a follow-up CL to https://golang.org/cl/170118, updating a comment made
incorrect by that CL.

Change-Id: I5a29cfae331fbbbb36c96d96f9e4949393a5942d
Reviewed-on: https://go-review.googlesource.com/c/go/+/170123
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/compile/internal/ssa/prove.go

index 973e3cd4f22ef23525823b8813dfe90682fa094c..a73cd613f292bd6f1dbc1019e5b7c8950432440a 100644 (file)
@@ -175,8 +175,7 @@ type factsTable struct {
        lens map[ID]*Value
        caps map[ID]*Value
 
-       // zero is a reference to the zero-valued constant assigned or created
-       // during the len/cap sweep that begins prove.
+       // zero is a zero-valued constant
        zero *Value
 }