tools/go/analysis/passes/asmdecl
Alan Donovan c0eb142035 go/analysis/passes/asmdecl: fix a panic under go1.10
Now that asmdecl is not in the standard repo, we must not assume
that types.SizesFor knows about all architectures and panic if it
does not. This change makes it print a warning and assume 64-bit
norms.

Change-Id: Idacad350b2fc9343adfb32539fec7003b39380ed
Reviewed-on: https://go-review.googlesource.com/c/141679
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-10-12 20:14:14 +00:00
..
testdata/src/a go/analysis/passes/asmdecl: split out of vet 2018-10-08 17:41:44 +00:00
asmdecl.go go/analysis/passes/asmdecl: fix a panic under go1.10 2018-10-12 20:14:14 +00:00
asmdecl_test.go go/analysis/passes/asmdecl: split out of vet 2018-10-08 17:41:44 +00:00