1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:57:14 -07:00

avoid JMP to ATEXT in xfol

R=ken
OCL=17833
CL=17833
This commit is contained in:
Russ Cox 2008-10-24 17:10:51 -07:00
parent e2fa41ab3b
commit cc4dc5a22a

View File

@ -173,7 +173,7 @@ loop:
if(p->as == ATEXT)
curtext = p;
if(p->as == AJMP)
if((q = p->pcond) != P) {
if((q = p->pcond) != P && q->as != ATEXT) {
p->mark = 1;
p = q;
if(p->mark == 0)