Author: Ronan Lamy <[email protected]>
Branch:
Changeset: r71735:ef8c0505fc21
Date: 2014-05-26 18:12 +0100
http://bitbucket.org/pypy/pypy/changeset/ef8c0505fc21/
Log: fix translation
diff --git a/rpython/rtyper/module/r_os_stat.py
b/rpython/rtyper/module/r_os_stat.py
--- a/rpython/rtyper/module/r_os_stat.py
+++ b/rpython/rtyper/module/r_os_stat.py
@@ -91,7 +91,7 @@
s_index = rtyper.annotator.bookkeeper.immutablevalue(index)
hop2 = hop.copy()
spaceop = op.getitem(hop.args_v[0], Constant(index))
- spaceop.result = hop.result
+ spaceop.result = hop.spaceop.result
hop2.spaceop = spaceop
hop2.args_v = spaceop.args
hop2.args_s = [self.s_tuple, s_index]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit