[pypy-svn] r63861 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Wed Apr 8 18:27:22 CEST 2009


Author: fijal
Date: Wed Apr  8 18:27:19 2009
New Revision: 63861

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py
Log:
one extra stack place, needed in rare cases


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py	Wed Apr  8 18:27:19 2009
@@ -295,7 +295,7 @@
             self.max_stack_depth = max(jmp.jump_target._x86_stack_depth,
                                        self.max_stack_depth)
         self.max_stack_depth = max(self.max_stack_depth,
-                                   self.current_stack_depth)
+                                   self.current_stack_depth + 1)
 
     def _compute_vars_longevity(self, inputargs, operations):
         # compute a dictionary that maps variables to index in



More information about the Pypy-commit mailing list