[pypy-commit] pypy gc_no_cleanup_nursery: one more place, well spotted

fijal noreply at buildbot.pypy.org
Thu Sep 25 12:35:54 CEST 2014


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: gc_no_cleanup_nursery
Changeset: r73701:ba0ca08651ff
Date: 2014-09-25 12:35 +0200
http://bitbucket.org/pypy/pypy/changeset/ba0ca08651ff/

Log:	one more place, well spotted

diff --git a/rpython/jit/backend/llsupport/rewrite.py b/rpython/jit/backend/llsupport/rewrite.py
--- a/rpython/jit/backend/llsupport/rewrite.py
+++ b/rpython/jit/backend/llsupport/rewrite.py
@@ -203,7 +203,7 @@
             self.gen_boehm_malloc_array(arraydescr, v_length, op.result)
         else:
             opnum = op.getopnum()
-            if opnum == rop.NEW_ARRAY:
+            if opnum == rop.NEW_ARRAY or opnum == rop.NEW_ARRAY_CLEAR:
                 self.gen_malloc_array(arraydescr, v_length, op.result)
             elif opnum == rop.NEWSTR:
                 self.gen_malloc_str(v_length, op.result)


More information about the pypy-commit mailing list