[pypy-svn] r37566 - pypy/dist/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Mon Jan 29 20:46:10 CET 2007


Author: arigo
Date: Mon Jan 29 20:46:08 2007
New Revision: 37566

Modified:
   pypy/dist/pypy/interpreter/pyframe.py
Log:
Attempt to fix translation of PyPy.


Modified: pypy/dist/pypy/interpreter/pyframe.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyframe.py	(original)
+++ pypy/dist/pypy/interpreter/pyframe.py	Mon Jan 29 20:46:08 2007
@@ -517,6 +517,7 @@
     opname = space.str_w(w_opname)
     handlerposition = space.int_w(w_handlerposition)
     valuestackdepth = space.int_w(w_valuestackdepth)
+    assert valuestackdepth >= 0
     blk = instantiate(get_block_class(opname))
     blk.handlerposition = handlerposition
     blk.valuestackdepth = valuestackdepth



More information about the Pypy-commit mailing list