• Russ Cox's avatar
    cmd/gc: correct liveness for func ending in panic · ab9e8d06
    Russ Cox authored
    The registerization code needs the function to end in a RET,
    even if that RET is actually unreachable.
    
    The liveness code needs to avoid such unreachable RETs.
    It had a special case for final RET after JMP, but no case
    for final RET after UNDEF. Instead of expanding the special
    cases, let fixjmp - which already knows what is and is not
    reachable definitively - mark the unreachable RET so that
    the liveness code can identify it.
    
    TBR=iant
    CC=golang-codereviews
    https://golang.org/cl/63680043
    ab9e8d06
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...