[pypy-svn] r29075 - pypy/dist/pypy/translator/c

mwh at codespeak.net mwh at codespeak.net
Wed Jun 21 17:02:20 CEST 2006


Author: mwh
Date: Wed Jun 21 17:02:15 2006
New Revision: 29075

Modified:
   pypy/dist/pypy/translator/c/funcgen.py
Log:
remove the last vestiges of the old stackless code.


Modified: pypy/dist/pypy/translator/c/funcgen.py
==============================================================================
--- pypy/dist/pypy/translator/c/funcgen.py	(original)
+++ pypy/dist/pypy/translator/c/funcgen.py	Wed Jun 21 17:02:15 2006
@@ -389,9 +389,6 @@
             # skip assignment of 'void' return value
             r = self.expr(op.result)
             line = '%s = %s' % (r, line)
-        check = self.check_directcall_result(op)
-        if check:
-            return line + '\n' + check
         return line
 
     # the following works since the extra arguments that indirect_call has
@@ -404,14 +401,8 @@
         if self.lltypemap(op.result) is not Void:
             r = self.expr(op.result)
             line = '%s = %s' % (r, line)
-        check = self.check_directcall_result(op)
-        if check:
-            return line + '\n' + check
         return line
             
-    def check_directcall_result(self, op):
-        return None
-
     # low-level operations
     def generic_get(self, op, sourceexpr):
         T = self.lltypemap(op.result)



More information about the Pypy-commit mailing list