[pypy-svn] r65433 - pypy/branch/pyjitpl5-experiments/pypy/jit/backend/llgraph

fijal at codespeak.net fijal at codespeak.net
Tue May 26 21:10:56 CEST 2009


Author: fijal
Date: Tue May 26 21:10:55 2009
New Revision: 65433

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/backend/llgraph/llimpl.py
Log:
don't complain if class is None


Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/backend/llgraph/llimpl.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/backend/llgraph/llimpl.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/backend/llgraph/llimpl.py	Tue May 26 21:10:55 2009
@@ -555,7 +555,8 @@
 
     def op_guard_nonvirtualized(self, for_accessing_field,
                                 value, expected_class):
-        self.op_guard_class(-1, value, expected_class)
+        if expected_class is not None:
+            self.op_guard_class(-1, value, expected_class)
         if heaptracker.cast_vable(value).vable_rti:
             raise GuardFailed    # some other code is already in control
 



More information about the Pypy-commit mailing list