[pypy-svn] r65874 - pypy/branch/pyjitpl5/pypy/jit/tl/spli

benjamin at codespeak.net benjamin at codespeak.net
Tue Jun 23 01:06:26 CEST 2009


Author: benjamin
Date: Tue Jun 23 01:06:24 2009
New Revision: 65874

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py
Log:
set value to None when popping

Modified: pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/spli/interpreter.py	Tue Jun 23 01:06:24 2009
@@ -77,6 +77,7 @@
         self.stack_depth += 1
 
     def pop(self):
+        self.value_stack[self.stack_depth] = None
         self.stack_depth -= 1
         val = self.value_stack[self.stack_depth]
         return val



More information about the Pypy-commit mailing list