• 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
..
amd64 Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
gc Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
ssa Loading commit data...
syntax Loading commit data...
test Loading commit data...
types Loading commit data...
wasm Loading commit data...
x86 Loading commit data...