[pypy-commit] pypy better-jit-hooks: another hack...

fijal noreply at buildbot.pypy.org
Fri Jan 6 12:22:38 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: better-jit-hooks
Changeset: r51064:18807d528b49
Date: 2012-01-06 13:22 +0200
http://bitbucket.org/pypy/pypy/changeset/18807d528b49/

Log:	another hack...

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,7 +92,7 @@
         op.setdescr(None)
     else:
         op = ResOperation(no, [None], None, descr=None)
-    op.setarg(0, AbstractValue()) # list is mutated
+    op.setarg(NonConstant(0), AbstractValue()) # list is mutated
     return space.wrap(WrappedOp(op, NonConstant(13), NonConstant('repr')))
 
 class WrappedOp(Wrappable):


More information about the pypy-commit mailing list