• David Chase's avatar
    cmd/compile: begin OpArg and OpPhi location lists at block start · 2b58ca6e
    David Chase authored
    For the entry block, make the "first instruction" be truly
    the first instruction.  This allows printing of incoming
    parameters with Delve.
    
    Also be sure Phis are marked as being at the start of their
    block.  This is observed to move location list pointers,
    and where moved, they become correct.
    
    Leading zero-width instructions include LoweredGetClosurePtr.
    Because this instruction is actually architecture-specific,
    and it is now tested for in 3 different places, also created
    Op.isLoweredGetClosurePtr() to reduce future surprises.
    
    Change-Id: Ic043b7265835cf1790382a74334b5714ae4060af
    Reviewed-on: https://go-review.googlesource.com/c/145179
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarHeschi Kreinick <heschi@google.com>
    2b58ca6e
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...