[pypy-commit] pypy op_malloc_gc: Fix on 64-bit

arigo noreply at buildbot.pypy.org
Mon Dec 19 09:13:42 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: op_malloc_gc
Changeset: r50700:3ab2729fe2b1
Date: 2011-12-19 09:13 +0100
http://bitbucket.org/pypy/pypy/changeset/3ab2729fe2b1/

Log:	Fix on 64-bit

diff --git a/pypy/jit/backend/llsupport/test/test_rewrite.py b/pypy/jit/backend/llsupport/test/test_rewrite.py
--- a/pypy/jit/backend/llsupport/test/test_rewrite.py
+++ b/pypy/jit/backend/llsupport/test/test_rewrite.py
@@ -480,6 +480,7 @@
         """)
 
     def test_write_barrier_before_short_array(self):
+        self.gc_ll_descr.max_size_of_young_obj = 2000
         self.check_rewrite("""
             [i2, p3]
             p1 = new_array(129, descr=cdescr)
@@ -500,6 +501,7 @@
 
     def test_write_barrier_before_long_array(self):
         # the limit of "being too long" is fixed, arbitrarily, at 130
+        self.gc_ll_descr.max_size_of_young_obj = 2000
         self.check_rewrite("""
             [i2, p3]
             p1 = new_array(130, descr=cdescr)


More information about the pypy-commit mailing list