Sfoglia il codice sorgente

Fix: sometimes produced branch to non-existing label

ceriel 29 anni fa
parent
commit
ef0ecb31b2
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      util/ego/bo/bo.c

+ 1 - 2
util/ego/bo/bo.c

@@ -136,8 +136,7 @@ STATIC bo_optloop(p,b,x,bra,bcc)
 		if (l == (line_p) 0) {
 			prevb->b_start = bra;
 		} else {
-			if (INSTR(l) == op_bra &&
-			    INSTRLAB(l) == INSTRLAB(bra)) {
+		      	if ((em_flag[INSTR(l)-sp_fmnem]&EM_FLO) == FLO_T) {
 				oldline(bra);
 			} else {
 				appnd_line(bra,l);