• Keith Randall's avatar
    cmd/compile: keep JMPs around with -N · e360f7c4
    Keith Randall authored
    When -N, make sure we don't drop every instruction from
    a block, even ones which would otherwise be empty.
    Helps keep line numbers around for debugging, particularly
    for break and continue statements (which often compile
    down to nothing).
    
    Fixes #14379
    
    Change-Id: I33722c4f0dcd502f146fa48af262ba3a477c959a
    Reviewed-on: https://go-review.googlesource.com/19854
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarMinux Ma <minux@golang.org>
    e360f7c4
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
mips Loading commit data...
ppc64 Loading commit data...
x86 Loading commit data...
ar.go Loading commit data...
data.go Loading commit data...
flag.go Loading commit data...
fmt.go Loading commit data...
funcdata.go Loading commit data...
go.go Loading commit data...
ld.go Loading commit data...
line_test.go Loading commit data...
link.go Loading commit data...
obj.go Loading commit data...
objfile.go Loading commit data...
pass.go Loading commit data...
pcln.go Loading commit data...
stack.go Loading commit data...
stringer.go Loading commit data...
sym.go Loading commit data...
textflag.go Loading commit data...
typekind.go Loading commit data...
util.go Loading commit data...