From 6aacbf1d5023c090e37601e35b2a4daa19fbfd65 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 24 Oct 2015 23:51:55 +0300 Subject: [PATCH] translate: avoid dupe work --- tools/translate.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/translate.c b/tools/translate.c index 543d7b0..44d6fb4 100644 --- a/tools/translate.c +++ b/tools/translate.c @@ -8404,15 +8404,9 @@ static void gen_hdr(const char *funcn, int opcnt) } // pass4: - // - remove dead labels // - handle push /pop pairs for (i = 0; i < opcnt; i++) { - if (g_labels[i] != NULL && g_label_refs[i].i == -1) { - free(g_labels[i]); - g_labels[i] = NULL; - } - po = &ops[i]; if (po->flags & (OPF_RMD|OPF_DONE)) continue; -- 2.39.5