Author: Remi Meier <[email protected]>
Branch: stmgc-c4
Changeset: r67537:324cb23503bd
Date: 2013-10-23 22:05 +0200
http://bitbucket.org/pypy/pypy/changeset/324cb23503bd/
Log: fix missing invalidation of read status when doing a A2V barrier
diff --git a/rpython/jit/backend/llsupport/stmrewrite.py
b/rpython/jit/backend/llsupport/stmrewrite.py
--- a/rpython/jit/backend/llsupport/stmrewrite.py
+++ b/rpython/jit/backend/llsupport/stmrewrite.py
@@ -239,7 +239,7 @@
if write_barrier_descr is None:
return v_base # no barrier needed
- if target_category == 'W':
+ if target_category in ('W', 'V'):
# if *any* of the readable vars is the same object,
# it must repeat the read_barrier now
self.invalidate_read_categories(v_base)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit