[pypy-svn] r66620 - pypy/branch/pyjitpl5/pypy/jit/backend/minimal

arigo at codespeak.net arigo at codespeak.net
Sat Jul 25 09:56:18 CEST 2009


Author: arigo
Date: Sat Jul 25 09:56:17 2009
New Revision: 66620

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py
Log:
Oups, fix test.


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/minimal/runner.py	Sat Jul 25 09:56:17 2009
@@ -209,7 +209,7 @@
                 setattr(p, %(name)r, x)
         """ % dict).compile() in dict2
         sort_key = self._count_sort_key(T, name)
-        if getkind(FIELDTYPE) in 'po':    # pointer or object
+        if getkind(FIELDTYPE) in ('ptr', 'obj'):
             Class = PtrFieldDescr
         else:
             Class = NonPtrFieldDescr



More information about the Pypy-commit mailing list