notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a7487b
)
translate: avoid dupe work
author
notaz
<notasas@gmail.com>
Sat, 24 Oct 2015 20:51:55 +0000
(23:51 +0300)
committer
notaz
<notasas@gmail.com>
Sat, 24 Oct 2015 20:51:55 +0000
(23:51 +0300)
tools/translate.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/translate.c
b/tools/translate.c
index
543d7b0
..
44d6fb4
100644
(file)
--- 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 <const>/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;