Skip to content

Commit

Permalink
cmd/compile: remove unused func nodfltconst
Browse files Browse the repository at this point in the history
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 <[email protected]>
Run-TryBot: Keith Randall <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
cuonglm authored and randall77 committed Apr 19, 2019
1 parent c8aaec2 commit bdd7bb5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/cmd/compile/internal/gc/subr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)})
}
Expand Down

0 comments on commit bdd7bb5

Please sign in to comment.