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

fijal at codespeak.net fijal at codespeak.net
Tue May 26 21:20:53 CEST 2009


Author: fijal
Date: Tue May 26 21:20:53 2009
New Revision: 65437

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/backend/llgraph/llimpl.py
Log:
oops


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:20:53 2009
@@ -555,7 +555,7 @@
 
     def op_guard_nonvirtualized(self, for_accessing_field,
                                 value, expected_class=None):
-        if expected_class is None:
+        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