mirror of
https://github.com/golang/go
synced 2024-11-19 16:44:43 -07:00
[dev.debug] cmd/compile: keep float names in the Names list
Fix an oversight in decompose that caused floats to be missing from the Names list. Change-Id: I5db9c9498e9a4421742389eb929752fdac873b38 Reviewed-on: https://go-review.googlesource.com/50877 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
c1c08a13e7
commit
788aa88cd0
@ -98,6 +98,7 @@ func decomposeBuiltIn(f *Func) {
|
||||
delete(f.NamedValues, name)
|
||||
case t.IsFloat():
|
||||
// floats are never decomposed, even ones bigger than RegSize
|
||||
newNames = append(newNames, name)
|
||||
case t.Size() > f.Config.RegSize:
|
||||
f.Fatalf("undecomposed named type %v %v", name, t)
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user