[pypy-commit] pypy default: Baaaah. Thanks zseil.

2011-10-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r48074:759db9b281eb Date: 2011-10-15 15:50 +0200 http://bitbucket.org/pypy/pypy/changeset/759db9b281eb/ Log:Bh. Thanks zseil. diff --git a/pypy/translator/c/src/thread_nt.h b/pypy/translator/c/src/thread_nt.h --- a/pypy/translator/c/src/thread_nt.h

[pypy-commit] pypy default: Fix the test. This is mostly covering for an issue with

2011-10-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r48073:659180bd3030 Date: 2011-10-15 14:56 +0200 http://bitbucket.org/pypy/pypy/changeset/659180bd3030/ Log:Fix the test. This is mostly covering for an issue with jit.isconstant(), but it is known. diff --git a/pypy/rlib/test/test_jit.py b/pypy

[pypy-commit] pypy jit-tagged-2: Replace int_lshift_ovf(x, 1) with int_add_ovf(x, x).

2011-10-15 Thread arigo
Author: Armin Rigo Branch: jit-tagged-2 Changeset: r48069:b05d1b6f5dbd Date: 2011-10-14 18:38 +0200 http://bitbucket.org/pypy/pypy/changeset/b05d1b6f5dbd/ Log:Replace int_lshift_ovf(x, 1) with int_add_ovf(x, x). It's roughly equivalent for the C backend, but maybe a bit better for the

[pypy-commit] pypy default: Baaah. Fought for a while before realizing that it was because

2011-10-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r48071:1f3d56c3352f Date: 2011-10-15 14:04 +0200 http://bitbucket.org/pypy/pypy/changeset/1f3d56c3352f/ Log:Baaah. Fought for a while before realizing that it was because I mistakenly wrote "_immutable_ = ['field']". Grr. Should not occur

[pypy-commit] pypy default: Use a quasi-immutable field to record whether we started using

2011-10-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r48072:51224696c078 Date: 2011-10-15 14:43 +0200 http://bitbucket.org/pypy/pypy/changeset/51224696c078/ Log:Use a quasi-immutable field to record whether we started using threads or not so far. As long as we didn't, we can generate assemb

[pypy-commit] pypy default: Force a reinit during translation, otherwise we might be left with a

2011-10-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r48070:6650d6cdcdbe Date: 2011-10-15 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/6650d6cdcdbe/ Log:Force a reinit during translation, otherwise we might be left with a broken minicache entry. diff --git a/pypy/module/thread/threadlocals