[pypy-commit] pypy stm-thread-2: Pffff.
arigo
noreply at buildbot.pypy.org
Wed Oct 3 17:36:33 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
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
More information about the pypy-commit
mailing list