[pypy-svn] r72587 - pypy/branch/fix-64/pypy/rlib
arigo at codespeak.net
arigo at codespeak.net
Mon Mar 22 19:42:58 CET 2010
Author: arigo
Date: Mon Mar 22 19:42:56 2010
New Revision: 72587
Modified:
pypy/branch/fix-64/pypy/rlib/rstack.py
Log:
Fix.
Modified: pypy/branch/fix-64/pypy/rlib/rstack.py
==============================================================================
--- pypy/branch/fix-64/pypy/rlib/rstack.py (original)
+++ pypy/branch/fix-64/pypy/rlib/rstack.py Mon Mar 22 19:42:56 2010
@@ -38,8 +38,9 @@
stack_too_big = rffi.llexternal('LL_stack_too_big', [], rffi.INT,
compilation_info=compilation_info,
_nowrapper=True,
- _callable=lambda: 0,
+ _callable=lambda: _zero,
sandboxsafe=True)
+_zero = rffi.cast(rffi.INT, 0)
def stack_check():
if rffi.cast(lltype.Signed, stack_too_big()):
More information about the Pypy-commit
mailing list