Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r59713:7f214ef7fd3f
Date: 2013-01-05 00:24 -0800
http://bitbucket.org/pypy/pypy/changeset/7f214ef7fd3f/
Log: promote this
diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py
--- a/pypy/module/_sre/interp_sre.py
+++ b/pypy/module/_sre/interp_sre.py
@@ -54,7 +54,7 @@
result = [-1] * (2 * num_groups)
mark = ctx.match_marks
while mark is not None:
- index = mark.gid
+ index = jit.promote(mark.gid)
if result[index] == -1:
result[index] = mark.position
mark = mark.prev
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit