• Keith Randall's avatar
    cmd/compile: remove CLOBBERDEAD experiment · 57c8eb92
    Keith Randall authored
    This experiment is less effective and less needed since the
    introduction of stack objects.
    
    We can't clobber stack objects because we don't know statically
    whether they are live or not.
    
    We don't really need this experiment that much any more, as it was
    primarily used to test the complicated ambiguously-live logic in the
    liveness analysis, which has been removed in favor of stack objects.
    
    It is also ~infeasible to maintain once we have safepoints everywhere.
    
    Fixes #27326
    
    Change-Id: I3bdde480b93dd508d048703055d4586b496176af
    Reviewed-on: https://go-review.googlesource.com/c/151317
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    57c8eb92
main.go 41.3 KB