[pypy-commit] pypy gc_no_cleanup_nursery: easy fix, thanks armin
fijal
noreply at buildbot.pypy.org
Tue Sep 16 19:10:19 CEST 2014
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: gc_no_cleanup_nursery
Changeset: r73553:ba4d93c75370
Date: 2014-09-16 11:08 -0600
http://bitbucket.org/pypy/pypy/changeset/ba4d93c75370/
Log: easy fix, thanks armin
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
@@ -184,7 +184,6 @@
# XXX this maybe should go to optimizer, so we can remove extra ops?
ofs, size, _ = self.cpu.unpack_arraydescr_size(arraydescr)
v_arr_plus_ofs = BoxInt()
- v_arrsize = BoxInt()
v_totalsize = BoxInt()
gcdescr = self.gc_ll_descr
ops = [
@@ -192,6 +191,7 @@
]
if v_arrsize is None:
+ v_arrsize = BoxInt()
o = ResOperation(rop.ARRAYLEN_GC, [v_arr], v_arrsize,
descr=arraydescr)
ops.append(o)
More information about the pypy-commit
mailing list