[pypy-svn] r64428 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Mon Apr 20 03:33:59 CEST 2009


Author: fijal
Date: Mon Apr 20 03:33:55 2009
New Revision: 64428

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py
Log:
lltype.Ptr to raws are not ptrs


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py	Mon Apr 20 03:33:55 2009
@@ -64,6 +64,7 @@
     debug = True
     has_lltype = True
     has_ootype = False
+    is_oo = False # XXX why all of those?
 
     BOOTSTRAP_TP = lltype.FuncType([lltype.Ptr(rffi.CArray(lltype.Signed))],
                                    lltype.Signed)
@@ -614,7 +615,7 @@
             size = 0
         else:
             size = symbolic.get_size(resulttype, self.translate_support_code)
-        if isinstance(resulttype, lltype.Ptr):
+        if isinstance(resulttype, lltype.Ptr) and resulttype.TO._gckind == 'gc':
             ptr = True
         else:
             ptr = False



More information about the Pypy-commit mailing list