]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: leave JMPs in when using -N
authorKeith Randall <khr@golang.org>
Tue, 23 Feb 2016 07:19:00 +0000 (23:19 -0800)
committerKeith Randall <khr@golang.org>
Wed, 24 Feb 2016 16:53:00 +0000 (16:53 +0000)
commit8906d2a171153ab337a88d4e9f59a7626ac55019
tree8988924dfec45041a179a1f87eaf5471091c7d86
parentd337e55672c0ea6c29af2615e5fa345941f822c4
[dev.ssa] cmd/compile: leave JMPs in when using -N

Helps keep line numbers around for debugging, particularly
for break and continue statements (which often compile
down to nothing).

Update #14379

Change-Id: I6ea06aa887b0450d9ba4f11e319e5c263f5a98ba
Reviewed-on: https://go-review.googlesource.com/19848
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/critical.go