]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't SSA any variables when -N
authorKeith Randall <khr@golang.org>
Fri, 29 Apr 2016 19:09:32 +0000 (12:09 -0700)
committerKeith Randall <khr@golang.org>
Mon, 2 May 2016 04:16:45 +0000 (04:16 +0000)
commit5325fbc7dbab155a88efab0bcd128236e97b3349
tree54123610ffb0733e358721b71d2ade17007082e1
parent5776c20164e5852ec13828db10277019db86180b
cmd/compile: don't SSA any variables when -N

Turn SSAing of variables off when compiling with optimizations off.
This helps keep variable names around that would otherwise be
optimized away.

Fixes #14744

Change-Id: I31db8cf269c068c7c5851808f13e5955a09810ca
Reviewed-on: https://go-review.googlesource.com/22681
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/ssa.go