[pypy-svn] r34779 - pypy/dist/pypy/translator/cl

pedronis at codespeak.net pedronis at codespeak.net
Mon Nov 20 12:26:40 CET 2006


Author: pedronis
Date: Mon Nov 20 12:26:38 2006
New Revision: 34779

Modified:
   pypy/dist/pypy/translator/cl/opformatter.py
Log:
support as debug_assert as doing nothing in the cl backend



Modified: pypy/dist/pypy/translator/cl/opformatter.py
==============================================================================
--- pypy/dist/pypy/translator/cl/opformatter.py	(original)
+++ pypy/dist/pypy/translator/cl/opformatter.py	Mon Nov 20 12:26:38 2006
@@ -21,6 +21,10 @@
     def nop(self, result, arg):
         yield "(setf %s %s)" % (result, arg)
 
+
+    def op_debug_assert(self, result, *args):
+        return []
+
     op_same_as = nop
     op_ooupcast = nop
     op_oodowncast = nop



More information about the Pypy-commit mailing list