From: LE Manh Cuong Date: Fri, 19 Apr 2019 09:35:24 +0000 (+0700) Subject: cmd/compile: remove unused func nodfltconst X-Git-Tag: go1.13beta1~635 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bdd7bb5526d5ba6a3471ce03ae953bb6d793b501;p=gostls13.git cmd/compile: remove unused func nodfltconst Its only usage was removed in golang.org/cl/103860 Change-Id: I2a230b9475b0aadf3892b89f5e4ee6d4c5b70394 Reviewed-on: https://go-review.googlesource.com/c/go/+/172917 Reviewed-by: Keith Randall Run-TryBot: Keith Randall TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/compile/internal/gc/subr.go b/src/cmd/compile/internal/gc/subr.go index 55b96e5c9b..04dd2f7c2d 100644 --- a/src/cmd/compile/internal/gc/subr.go +++ b/src/cmd/compile/internal/gc/subr.go @@ -416,12 +416,6 @@ func nodintconst(v int64) *Node { return nodlit(Val{u}) } -func nodfltconst(v *Mpflt) *Node { - u := newMpflt() - u.Set(v) - return nodlit(Val{u}) -} - func nodnil() *Node { return nodlit(Val{new(NilVal)}) }