Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r60197:ae26b2dd2e89
Date: 2013-01-19 12:50 +0200
http://bitbucket.org/pypy/pypy/changeset/ae26b2dd2e89/
Log: no asserts
diff --git a/pypy/jit/backend/llsupport/jitframe.py
b/pypy/jit/backend/llsupport/jitframe.py
--- a/pypy/jit/backend/llsupport/jitframe.py
+++ b/pypy/jit/backend/llsupport/jitframe.py
@@ -1,6 +1,7 @@
from pypy.rpython.lltypesystem import lltype, llmemory
from pypy.rpython.annlowlevel import llhelper
from pypy.rlib.objectmodel import specialize
+from pypy.rlib.debug import ll_assert
STATICSIZE = 0 # patch from the assembler backend
@@ -116,7 +117,7 @@
return obj_addr + getofs('jf_frame') + BASEITEMOFS + SIGN_SIZE * no
state = 6
no = 0
- assert state == 6
+ ll_assert(state == 6, "invalid tracer state")
gcmap = (obj_addr + getofs('jf_gcmap')).address[0]
gcmaplen = (gcmap + GCMAPLENGTHOFS).signed[0]
if no >= gcmaplen:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit