develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34007 - trunk/compilers/imcc

From:
tewk
Date:
December 16, 2008 19:24
Subject:
[svn:parrot] r34007 - trunk/compilers/imcc
Message ID:
20081217032356.4B050CBA12@x12.develooper.com
Author: tewk
Date: Tue Dec 16 19:23:53 2008
New Revision: 34007

Modified:
   trunk/compilers/imcc/pbc.c

Log:
[subid] remove backwards compat lookup via sub name


Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c	(original)
+++ trunk/compilers/imcc/pbc.c	Tue Dec 16 19:23:53 2008
@@ -697,13 +697,6 @@
         if (r && (r->subid && (strcmp(r->subid, lookup) == 0)))
             return s;
 
-        /* if names and namespaces are matching - ok */
-        if (r && r->name && (strcmp(r->name, lookup) == 0)
-                && ((sym->unit->_namespace && s->unit->_namespace
-                        && (strcmp(sym->unit->_namespace->name, s->unit->_namespace->name) == 0))
-                    || (!sym->unit->_namespace && !s->unit->_namespace)))
-            return s;
-
         *pc += s->size;
     }
     return NULL;



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About