cmd/gc: liveness: don't add fallthough edge after panic

update #7205

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/50730044
This commit is contained in:
Keith Randall 2014-01-27 18:04:34 -08:00
parent 96471b65d5
commit 28479f2c32
1 changed files with 1 additions and 0 deletions

View File

@ -538,6 +538,7 @@ newcfg(Prog *firstp)
switch(bb->last->as) {
case AJMP:
case ARET:
case AUNDEF:
break;
default:
addedge(bb, bb->last->link->opt);