aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLE Manh Cuong <cuong.manhle.vn@gmail.com>2019-04-19 16:35:24 +0700
committerKeith Randall <khr@golang.org>2019-04-19 12:32:46 +0000
commitbdd7bb5526d5ba6a3471ce03ae953bb6d793b501 (patch)
treecbc7cc76d15a2552062a7d6131fa45bce4951112 /src
parentc8aaec2f70c5ccbca1ec2152c57d19981ac09133 (diff)
downloadgo-bdd7bb5526d5ba6a3471ce03ae953bb6d793b501.tar.xz
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 <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/gc/subr.go6
1 files changed, 0 insertions, 6 deletions
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)})
}