Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r45699:0c4fd61358ff
Date: 2011-07-17 11:58 +0200
http://bitbucket.org/pypy/pypy/changeset/0c4fd61358ff/
Log: pothential rpython fix?
diff --git a/pypy/jit/metainterp/optimizeopt/vstring.py
b/pypy/jit/metainterp/optimizeopt/vstring.py
--- a/pypy/jit/metainterp/optimizeopt/vstring.py
+++ b/pypy/jit/metainterp/optimizeopt/vstring.py
@@ -454,7 +454,7 @@
def _optimize_STRLEN(self, op, mode):
value = self.getvalue(op.getarg(0))
- lengthbox = value.getstrlen(self, mode, op.result)
+ lengthbox = value.getstrlen(self, mode, lengthbox=op.result)
if lengthbox is not op.result:
self.make_equal_to(op.result, self.getvalue(lengthbox))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit