Author: Maciej Fijalkowski <[email protected]>
Branch: better-jit-hooks
Changeset: r51063:3826773898b1
Date: 2012-01-06 13:07 +0200
http://bitbucket.org/pypy/pypy/changeset/3826773898b1/
Log: make sure we can modify the list
diff --git a/pypy/module/pypyjit/interp_resop.py
b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -92,6 +92,7 @@
op.setdescr(None)
else:
op = ResOperation(no, [None], None, descr=None)
+ op.setarg(0, AbstractValue()) # list is mutated
return space.wrap(WrappedOp(op, NonConstant(13), NonConstant('repr')))
class WrappedOp(Wrappable):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit