[pypy-commit] pypy shadowstack-perf: Disable usage of the register for non-standalone translations.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r45429:622cdee7ad2d Date: 2011-07-08 21:48 +0200 http://bitbucket.org/pypy/pypy/changeset/622cdee7ad2d/ Log:Disable usage of the register for non-standalone translations. diff --git a/pypy/translator/c/database.py b/pypy/translator/c/dat

[pypy-commit] pypy r15-for-exception: Mostly comments for now, describing the goal.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45430:d1c160a1df55 Date: 2011-07-07 12:33 +0200 http://bitbucket.org/pypy/pypy/changeset/d1c160a1df55/ Log:Mostly comments for now, describing the goal. diff --git a/pypy/translator/register.py b/pypy/translator/register.py new file mo

[pypy-commit] pypy r15-for-exception: Complete pypy.rlib.register.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45431:871dc1fecff3 Date: 2011-07-08 19:48 +0200 http://bitbucket.org/pypy/pypy/changeset/871dc1fecff3/ Log:Complete pypy.rlib.register. diff --git a/pypy/translator/register.py b/pypy/rlib/register.py rename from pypy/translator/regist

[pypy-commit] pypy r15-for-exception: In-progress: try to use r15 for signalling exceptions.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45432:d0281a8b1360 Date: 2011-07-08 20:38 +0200 http://bitbucket.org/pypy/pypy/changeset/d0281a8b1360/ Log:In-progress: try to use r15 for signalling exceptions. diff --git a/pypy/rlib/register.py b/pypy/rlib/register.py --- a/pypy/rli

[pypy-commit] pypy r15-for-exception: Disable usage of the register for non-standalone translations.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45433:672eead01a28 Date: 2011-07-08 21:48 +0200 http://bitbucket.org/pypy/pypy/changeset/672eead01a28/ Log:Disable usage of the register for non-standalone translations. diff --git a/pypy/translator/c/database.py b/pypy/translator/c/da

[pypy-commit] pypy r15-for-exception: Fix the x86 backend to not touch r15 for normal usage, but handle

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45434:83b783be61f3 Date: 2011-07-09 12:16 +0200 http://bitbucket.org/pypy/pypy/changeset/83b783be61f3/ Log:Fix the x86 backend to not touch r15 for normal usage, but handle it as the exception marker. diff --git a/pypy/jit/back

[pypy-commit] pypy r15-for-exception: No-op: make the code more regular.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45435:4c3883bc1f51 Date: 2011-07-09 12:21 +0200 http://bitbucket.org/pypy/pypy/changeset/4c3883bc1f51/ Log:No-op: make the code more regular. diff --git a/pypy/jit/backend/x86/arch.py b/pypy/jit/backend/x86/arch.py --- a/pypy/jit/backe

[pypy-commit] pypy r15-for-exception: Hopefully fix all remaining places that are involved in C callbacks

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45436:5c84150482d2 Date: 2011-07-09 16:12 +0200 http://bitbucket.org/pypy/pypy/changeset/5c84150482d2/ Log:Hopefully fix all remaining places that are involved in C callbacks (including multi-threading). Simplify a bit the appro

[pypy-commit] pypy r15-for-exception: Fix trackgcroot for ignoring r15 in case it is used by rlib/register.py.

2011-07-09 Thread arigo
Author: Armin Rigo Branch: r15-for-exception Changeset: r45437:523c9a2ca35f Date: 2011-07-09 16:33 +0200 http://bitbucket.org/pypy/pypy/changeset/523c9a2ca35f/ Log:Fix trackgcroot for ignoring r15 in case it is used by rlib/register.py. diff --git a/pypy/translator/c/gcc/trackgcroot.

[pypy-commit] pypy default: Improve the encoding of "MOV reg, immed". Follows gcc's lead and

2011-07-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r45441:b0d8f9d434b6 Date: 2011-07-09 23:56 +0200 http://bitbucket.org/pypy/pypy/changeset/b0d8f9d434b6/ Log:Improve the encoding of "MOV reg, immed". Follows gcc's lead and use three different encodings instead of two... diff --git a/pypy/jit/ba

[pypy-commit] pypy default: merge heads

2011-07-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r45442:fef0408e477f Date: 2011-07-10 00:04 +0200 http://bitbucket.org/pypy/pypy/changeset/fef0408e477f/ Log:merge heads diff --git a/lib_pypy/_ctypes/basics.py b/lib_pypy/_ctypes/basics.py --- a/lib_pypy/_ctypes/basics.py +++ b/lib_pypy/_ctypes/basics.p

[pypy-commit] pypy default: Make Pickler a new-style class.

2011-07-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45443:1b3500a287b9 Date: 2011-07-09 16:37 -0700 http://bitbucket.org/pypy/pypy/changeset/1b3500a287b9/ Log:Make Pickler a new-style class. diff --git a/lib-python/modified-2.7/pickle.py b/lib-python/modified-2.7/pickle.py --- a/lib-python/modified-2.

[pypy-commit] pypy default: When inserting an item in the memodict (so it starts counting at 1) insert the id of None, rather than None itself, this way it stays an int-specialized dict.

2011-07-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45444:4127e61bd4bc Date: 2011-07-09 16:38 -0700 http://bitbucket.org/pypy/pypy/changeset/4127e61bd4bc/ Log:When inserting an item in the memodict (so it starts counting at 1) insert the id of None, rather than None itself, this way it stays an

[pypy-commit] pypy default: Remove more operations (particularly strlen and int_add) when concatinating strings.

2011-07-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45445:fdd9f6e01b33 Date: 2011-07-09 18:42 -0700 http://bitbucket.org/pypy/pypy/changeset/fdd9f6e01b33/ Log:Remove more operations (particularly strlen and int_add) when concatinating strings. Basically this more consistantly passes aro

[pypy-commit] jitviewer default: technically argument errors should return 2

2011-07-09 Thread gutworth
Author: Benjamin Peterson Branch: Changeset: r140:0a3e55eefb3f Date: 2011-07-09 21:56 -0500 http://bitbucket.org/pypy/jitviewer/changeset/0a3e55eefb3f/ Log:technically argument errors should return 2 diff --git a/bin/qwebview.py b/bin/qwebview.py --- a/bin/qwebview.py +++ b/bin/qwebview.py

[pypy-commit] pypy default: Make Module.w_dict as quasi-immut.

2011-07-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45446:25a92fba83d0 Date: 2011-07-09 21:09 -0700 http://bitbucket.org/pypy/pypy/changeset/25a92fba83d0/ Log:Make Module.w_dict as quasi-immut. diff --git a/pypy/interpreter/module.py b/pypy/interpreter/module.py --- a/pypy/interpreter/module.py +++ b/p

[pypy-commit] pypy default: Replace this O(n^2) loop with a simple O(n) library function.

2011-07-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45447:40a63caa7c26 Date: 2011-07-09 21:13 -0700 http://bitbucket.org/pypy/pypy/changeset/40a63caa7c26/ Log:Replace this O(n^2) loop with a simple O(n) library function. diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.p