[pypy-commit] pypy llvm-translation-backend: Fix no_links_to_startblock().

mjacob noreply at buildbot.pypy.org
Sun Mar 29 15:32:10 CEST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: llvm-translation-backend
Changeset: r76615:7264b1d99a55
Date: 2015-03-28 15:32 +0100
http://bitbucket.org/pypy/pypy/changeset/7264b1d99a55/

Log:	Fix no_links_to_startblock().

diff --git a/rpython/translator/unsimplify.py b/rpython/translator/unsimplify.py
--- a/rpython/translator/unsimplify.py
+++ b/rpython/translator/unsimplify.py
@@ -147,7 +147,7 @@
                 links_to_start_block = True
                 break
     if links_to_start_block:
-        insert_empty_startblock(None, graph)
+        insert_empty_startblock(graph)
 
 def call_initial_function(translator, initial_func, annhelper=None):
     """Before the program starts, call 'initial_func()'."""


More information about the pypy-commit mailing list