cmd/compile/internal/ssa: avoid accidental list ends
cmd/compile/internal/ssa: avoid accidental list ends

Some SSA values don't translate into any instructions. If a function
began with two of them, and both modified the storage of the same
variable, we'd end up with a location list entry that started and ended
at 0. That looks like an end-of-list entry, which would then confuse
downstream tools, particularly the fixup in the linker.

"Fix" this by changing the end of such entries to 1. Should be harmless,
since AFAIK we don't generate any 1-byte instructions. Later CLs will
reduce the frequency of these entries anyway.

Change-Id: I9b7e5e69f914244cc826fb9f4a6acfe2dc695f81
Reviewed-on: https://go-review.googlesource.com/97955
Run-TryBot: Heschi Kreinick <e89ab2b172855aa0ad01c40c4d8a3535a61ac68a@google.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: David Chase <ae171625adc8645b8b79b7e405a6da5aba5341e0@google.com>

nawawi/go,CAFxX/go,golang/go,cloudflare/go,josharian/go,akutz/go,golang/go,nawawi/go,akutz/go,Cofyc/go,josharian/go,codestation/go,codestation/go,cloudflare/go,golang/go,akutz/go,cloudflare/go,golang/go,golang/go,CAFxX/go,josharian/go,josharian/go,Cofyc/go,nawawi/go,golang/go,golang/go,nawawi/go,josharian/go,akutz/go,codestation/go,nawawi/go,Cofyc/go,golang/go,codestation/go,cloudflare/go,CAFxX/go,CAFxX/go,akutz/go,Cofyc/go,cloudflare/go,Cofyc/go,Cofyc/go,akutz/go,nawawi/go,CAFxX/go,akutz/go,nawawi/go,CAFxX/go,Cofyc/go,CAFxX/go,codestation/go,Cofyc/go,codestation/go,josharian/go,akutz/go,codestation/go,cloudflare/go,cloudflare/go,codestation/go,cloudflare/go,josharian/go,josharian/go,nawawi/go,CAFxX/go