]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove unused func nodfltconst
authorLE Manh Cuong <cuong.manhle.vn@gmail.com>
Fri, 19 Apr 2019 09:35:24 +0000 (16:35 +0700)
committerKeith Randall <khr@golang.org>
Fri, 19 Apr 2019 12:32:46 +0000 (12:32 +0000)
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 <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/compile/internal/gc/subr.go

index 55b96e5c9bae6788e0b38d511e628cd01c8f6488..04dd2f7c2d1492c89648883beecc1d769d12c791 100644 (file)
@@ -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)})
 }