[pypy-svn] r45551 - pypy/dist/pypy/translator/cli

antocuni at codespeak.net antocuni at codespeak.net
Wed Aug 8 15:21:27 CEST 2007


Author: antocuni
Date: Wed Aug  8 15:21:25 2007
New Revision: 45551

Modified:
   pypy/dist/pypy/translator/cli/function.py
Log:
oups... typo!



Modified: pypy/dist/pypy/translator/cli/function.py
==============================================================================
--- pypy/dist/pypy/translator/cli/function.py	(original)
+++ pypy/dist/pypy/translator/cli/function.py	Wed Aug  8 15:21:25 2007
@@ -255,7 +255,7 @@
 
         true_label = self.next_label('link_true')
         self.generator.load(block.exitswitch)
-        self.generator.branch_conditionally(link.exitcase, true_label)
+        self.generator.branch_conditionally(True, true_label)
         self._follow_link(link_false) # if here, the exitswitch is false
         self.set_label(true_label)
         self._follow_link(link_true)  # if here, the exitswitch is true



More information about the Pypy-commit mailing list