[pypy-svn] r76415 - pypy/branch/fast-ctypes/pypy/rlib

getxsick at codespeak.net getxsick at codespeak.net
Sat Jul 31 15:13:26 CEST 2010


Author: getxsick
Date: Sat Jul 31 15:13:25 2010
New Revision: 76415

Modified:
   pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
Log:
clean up in get_calldescr


Modified: pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
==============================================================================
--- pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py	(original)
+++ pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py	Sat Jul 31 15:13:25 2010
@@ -88,9 +88,6 @@
         self.setup_stack()
 
     def get_calldescr(self):
-        arg_classes = ''.join(self.args_type)
-        gccache = self.cpu.gc_ll_descr
-
         if self.res_type == 'i':
             cls = SignedCallDescr
         elif self.res_type == 'f':
@@ -103,6 +100,7 @@
             raise NotImplementedError('Unknown type of descr: %s'
                                       % self.res_type)
 
+        arg_classes = ''.join(self.args_type)
         calldescr = cls(arg_classes)
         return calldescr
 



More information about the Pypy-commit mailing list