Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r60296:a90b88ed15c4
Date: 2013-01-21 16:33 +0200
http://bitbucket.org/pypy/pypy/changeset/a90b88ed15c4/
Log: seems you can't iterate over those, too bade
diff --git a/rpython/jit/backend/x86/assembler.py
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -2409,8 +2409,10 @@
tgt_clt =
target_token.original_jitcell_token.compiled_loop_token
tgt_gcmap = tgt_clt.frame_info.jfi_gcmap
rev = {}
- for i in tgt_gcmap:
- rev[i] = None
+ i = 0
+ while i < len(tgt_gcmap):
+ rev[tgt_gcmap[i]] = None
+ i += 1
# for now clean them all, we might change the strategy
for k in gcmap:
if k not in rev:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit