Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r57777:3dfd319c247e
Date: 2012-10-03 17:36 +0200
http://bitbucket.org/pypy/pypy/changeset/3dfd319c247e/
Log: Pffff.
diff --git a/pypy/jit/backend/x86/assembler.py
b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -434,7 +434,7 @@
if self.with_stm():
from pypy.jit.backend.x86 import stmtlocal
globaladdr -= stmtlocal.threadlocal_base()
- assert 0 <= globaladdr < 0x10000 # estimate: "should be small"
+ assert -0x10000 <= globaladdr < 0x10000 #estimate: "should be
small"
# --- in particular, fits_in_32bits() must be true
return globaladdr
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit