Author: Armin Rigo <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit