[pypy-svn] r64013 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph

fijal at codespeak.net fijal at codespeak.net
Mon Apr 13 03:13:52 CEST 2009


Author: fijal
Date: Mon Apr 13 03:13:51 2009
New Revision: 64013

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py
Log:
does anyone ever run those tests?


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py	Mon Apr 13 03:13:51 2009
@@ -66,7 +66,10 @@
     def __init__(self, rtyper, stats=None, translate_support_code=False,
                  annmixlevel=None):
         self.rtyper = rtyper
-        self.is_oo = rtyper.type_system.name == "ootypesystem"
+        if rtyper is not None:
+            self.is_oo = rtyper.type_system.name == "ootypesystem"
+        else:
+            self.is_oo = False
         self.translate_support_code = translate_support_code
         self.stats = stats or MiniStats()
         self.stats.exec_counters = {}



More information about the Pypy-commit mailing list