Author: Maciej Fijalkowski <[email protected]>
Branch: optresult-unroll
Changeset: r79240:3c4a45981c62
Date: 2015-08-27 10:15 +0200
http://bitbucket.org/pypy/pypy/changeset/3c4a45981c62/
Log: fix
diff --git a/rpython/jit/metainterp/optimizeopt/shortpreamble.py
b/rpython/jit/metainterp/optimizeopt/shortpreamble.py
--- a/rpython/jit/metainterp/optimizeopt/shortpreamble.py
+++ b/rpython/jit/metainterp/optimizeopt/shortpreamble.py
@@ -69,8 +69,9 @@
else:
index = g.getarg(1).getint()
assert index >= 0
+ cf = optheap.arrayitem_cache(descr, index)
opinfo.setitem(self.getfield_op.getdescr(), index, self.res,
- pop, optheap=optheap)
+ pop, cf, optheap=optheap)
def add_op_to_short(self, sb):
sop = self.getfield_op
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit