• Keith Randall's avatar
    cmd/compile: remove AUNDEF opcode · ad6c6915
    Keith Randall authored
    This opcode was only used to mark unreachable code for plive to use.
    plive now uses the SSA representation, so it knows locations are
    unreachable because they are ends of Exit blocks. It doesn't need
    these opcodes any more.
    
    These opcodes actually used space in the binary, 2 bytes per undef
    on x86 and more for other archs.
    
    Makes the amd64 go binary 0.2% smaller.
    
    Change-Id: I64c84c35db7c7949617a3a5830f09c8e5fcd2620
    Reviewed-on: https://go-review.googlesource.com/c/go/+/171058
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    ad6c6915
ssa.go 29.1 KB