]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.ssa] cmd/compile/ssa: add Logf state helper
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 4 Jul 2015 03:29:11 +0000 (20:29 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 5 Jul 2015 03:36:56 +0000 (03:36 +0000)
Change-Id: I4e4200b0fa847a1ff8a8b7d1e318bbc1c5e26b5b
Reviewed-on: https://go-review.googlesource.com/11874
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/ssa.go

index 1dba9b22a51e03be7539e36be300bdb8566766a3..5e254c265b41d4bd2fbdafbe42641166c9bfae3e 100644 (file)
@@ -156,6 +156,7 @@ type state struct {
        line []int32
 }
 
+func (s *state) Logf(msg string, args ...interface{})           { s.config.Logf(msg, args...) }
 func (s *state) Fatalf(msg string, args ...interface{})         { s.config.Fatalf(msg, args...) }
 func (s *state) Unimplementedf(msg string, args ...interface{}) { s.config.Unimplementedf(msg, args...) }