[pypy-svn] r47166 - in pypy/dist/pypy/translator: . llvm

rxe at codespeak.net rxe at codespeak.net
Thu Oct 4 22:12:06 CEST 2007


Author: rxe
Date: Thu Oct  4 22:12:05 2007
New Revision: 47166

Modified:
   pypy/dist/pypy/translator/llvm/funcnode.py
   pypy/dist/pypy/translator/unsimplify.py
Log:
fix an ancient typo

Modified: pypy/dist/pypy/translator/llvm/funcnode.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/funcnode.py	(original)
+++ pypy/dist/pypy/translator/llvm/funcnode.py	Thu Oct  4 22:12:05 2007
@@ -4,7 +4,7 @@
 from pypy.translator.llvm.node import LLVMNode, ConstantLLVMNode
 from pypy.translator.llvm.opwriter import OpWriter
 from pypy.translator.llvm.log import log 
-from pypy.translator.unsimplify import remove_double_links, no_links_to_startblack
+from pypy.translator.unsimplify import remove_double_links, no_links_to_startblock
 log = log.funcnode
 
 class FuncTypeNode(LLVMNode):
@@ -65,7 +65,7 @@
 
     def post_setup_transform(self):
         remove_double_links(self.db.translator.annotator, self.graph)
-        no_links_to_startblack(self.graph)
+        no_links_to_startblock(self.graph)
 
     def writedecl(self, codewriter): 
         codewriter.declare(self.getdecl())

Modified: pypy/dist/pypy/translator/unsimplify.py
==============================================================================
--- pypy/dist/pypy/translator/unsimplify.py	(original)
+++ pypy/dist/pypy/translator/unsimplify.py	Thu Oct  4 22:12:05 2007
@@ -144,7 +144,7 @@
                 insert_empty_block(annotator, link)
     traverse(visit, graph)
 
-def no_links_to_startblack(graph):
+def no_links_to_startblock(graph):
     """Ensure no links to start block."""    
     links_to_start_block = False
     for block in graph.iterblocks():


More information about the pypy-svn mailing list