[pypy-commit] pypy invalidate-virtualrefs: When compiling with "make lldebug", increase the number of

arigo noreply at buildbot.pypy.org
Fri May 27 15:30:03 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: invalidate-virtualrefs
Changeset: r44550:d137cfdd7a93
Date: 2011-05-27 12:06 +0000
http://bitbucket.org/pypy/pypy/changeset/d137cfdd7a93/

Log:	When compiling with "make lldebug", increase the number of RPython
	traceback entries recorded.

diff --git a/pypy/translator/c/src/debug_traceback.h b/pypy/translator/c/src/debug_traceback.h
--- a/pypy/translator/c/src/debug_traceback.h
+++ b/pypy/translator/c/src/debug_traceback.h
@@ -21,7 +21,11 @@
    line to the f:17/KeyError line.
 */
 
-#define PYPY_DEBUG_TRACEBACK_DEPTH        128     /* a power of two */
+#ifdef RPY_LL_ASSERT
+#  define PYPY_DEBUG_TRACEBACK_DEPTH        8192    /* a power of two */
+#else
+#  define PYPY_DEBUG_TRACEBACK_DEPTH        128     /* a power of two */
+#endif
 
 #define PYPYDTPOS_RERAISE                 ((struct pypydtpos_s *) -1)
 #define PYPYDTSTORE(loc, etype)                         \


More information about the pypy-commit mailing list