[pypy-commit] pypy default: Remove the 16MB boundary logic which is pointless now.

arigo noreply at buildbot.pypy.org
Mon Feb 27 16:30:30 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r52931:c08753e77c67
Date: 2012-02-27 16:30 +0100
http://bitbucket.org/pypy/pypy/changeset/c08753e77c67/

Log:	Remove the 16MB boundary logic which is pointless now.

diff --git a/pypy/jit/backend/llsupport/rewrite.py b/pypy/jit/backend/llsupport/rewrite.py
--- a/pypy/jit/backend/llsupport/rewrite.py
+++ b/pypy/jit/backend/llsupport/rewrite.py
@@ -114,7 +114,7 @@
                 pass    # total_size is still -1
         elif arraydescr.itemsize == 0:
             total_size = arraydescr.basesize
-        if (0 <= total_size <= 0xffffff and     # up to 16MB, arbitrarily
+        if (total_size >= 0 and
                 self.gen_malloc_nursery(total_size, op.result)):
             self.gen_initialize_tid(op.result, arraydescr.tid)
             self.gen_initialize_len(op.result, v_length, arraydescr.lendescr)


More information about the pypy-commit mailing list