[pypy-svn] r24615 - pypy/dist/pypy/jit

pedronis at codespeak.net pedronis at codespeak.net
Mon Mar 20 17:03:01 CET 2006


Author: pedronis
Date: Mon Mar 20 17:02:49 2006
New Revision: 24615

Modified:
   pypy/dist/pypy/jit/llabstractinterp.py
Log:
this was old broken code by some refactoring. Fix keepalive



Modified: pypy/dist/pypy/jit/llabstractinterp.py
==============================================================================
--- pypy/dist/pypy/jit/llabstractinterp.py	(original)
+++ pypy/dist/pypy/jit/llabstractinterp.py	Mon Mar 20 17:02:49 2006
@@ -862,7 +862,7 @@
         memo = FlattenMemo()
         a_ptr.flatten(memo)
         for a in memo.result:
-            if (a.is_variable and
+            if (isinstance(a.runtimevar, AVariable) and
                 not a.getconcretetype()._is_atomic()):
                 self.genop('keepalive', [a.forcegenvarorconst()],
                              lltype.Void)



More information about the Pypy-commit mailing list