• David Chase's avatar
    cmd/compile: adjust Pos setting for "empty" blocks · a042221c
    David Chase authored
    Plain blocks that contain only uninteresting instructions
    (that do not have reliable Pos information themselves)
    need to have their Pos left unset so that they can
    inherit it from their successors.  The "uninteresting"
    test was not properly applied and not properly defined.
    OpFwdRef does not appear in the ssa.html debugging output,
    but at the time of the test these instructions did appear,
    and it needs to be part of the test.
    
    Fixes #22365.
    
    Change-Id: I99e5b271acd8f6bcfe0f72395f905c7744ea9a02
    Reviewed-on: https://go-review.googlesource.com/74252
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    a042221c
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...