]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: add a String() method to Func
authorMichael Matloob <matloob@google.com>
Sat, 30 May 2015 17:17:12 +0000 (13:17 -0400)
committerKeith Randall <khr@golang.org>
Wed, 3 Jun 2015 04:35:55 +0000 (04:35 +0000)
commitbd95412d23e80d779062abe0798b8e7d85fcc138
tree9c80855aa439ea77426dd65a4eb2e5b802a64958
parenta9cec30fdcc549282e0a5d520edb2eaf60f3061a
[dev.ssa] cmd/compile/internal/ssa: add a String() method to Func

The string method has the same output as printFunc.

Change-Id: Iab2ebc17a3d6418edfeb7b585e4f251e7a11f399
Reviewed-on: https://go-review.googlesource.com/10552
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/func_test.go
src/cmd/compile/internal/ssa/print.go