shithub: mc

Download patch

ref: dca5e6339087339e0cd9890b5f91c2b3c9e875aa
parent: a22a1c0ae8dcad8e15e21febe9a512231b372cb5
author: Ori Bernstein <[email protected]>
date: Thu Jan 3 12:57:19 EST 2013

Remove duplicated names in asm output.

--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -332,10 +332,6 @@
         return n->decl.name;
     p = buf;
     end = buf + 1024;
-    /* format of the generic uniqified name:
-     *    ns$name$did$tid$tid$tid...  */
-    if (n->decl.name->name.ns)
-        p += snprintf(p, end - p, "%s", n->decl.name->name.ns);
     p += snprintf(p, end - p, "%s", n->decl.name->name.name);
     p += snprintf(p, end - p, "$%zd", n->decl.did);
     tidappend(p, end - p, t);