• 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
..
internal Loading commit data...
README.md Loading commit data...
doc.go Loading commit data...
fmt_test.go Loading commit data...
fmtmap_test.go Loading commit data...
main.go Loading commit data...