[pypy-svn] r49178 - pypy/dist/pypy/translator/llvm

xoraxax at codespeak.net xoraxax at codespeak.net
Mon Nov 26 22:28:47 CET 2007


Author: xoraxax
Date: Mon Nov 26 22:28:47 2007
New Revision: 49178

Modified:
   pypy/dist/pypy/translator/llvm/node.py
Log:
The name mangling didn't make much sense, i must have overlooked the test failure.


Modified: pypy/dist/pypy/translator/llvm/node.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/node.py	(original)
+++ pypy/dist/pypy/translator/llvm/node.py	Mon Nov 26 22:28:47 2007
@@ -1,16 +1,11 @@
 from pypy.rpython.lltypesystem import lltype
 
-NAME_BLACKLIST = "get".split()
 
 class Node(object):
     __slots__ = "name".split()
     prefix = '%'
 
     nodename_count = {}
-    for _name in NAME_BLACKLIST:
-        nodename_count[_name] = 1
-    del _name
-
     def mangle(self, name):
         if name not in self.nodename_count:
             result = name



More information about the Pypy-commit mailing list