Author: Remi Meier <[email protected]>
Branch:
Changeset: r1625:689a9663d13f
Date: 2015-02-16 15:55 +0100
http://bitbucket.org/pypy/stmgc/changeset/689a9663d13f/
Log: Backed out changeset: 7540c1f155d0
diff --git a/c8/stm/gcpage.c b/c8/stm/gcpage.c
--- a/c8/stm/gcpage.c
+++ b/c8/stm/gcpage.c
@@ -566,13 +566,10 @@
struct stm_commit_log_entry_s *cl, *next;
#ifndef NDEBUG
- /* check that all segments are at the same revision (or not running
- a transaction at all): */
+ /* check that all segments are at the same revision: */
cl = get_priv_segment(0)->last_commit_log_entry;
for (long i = 1; i < NB_SEGMENTS; i++) {
- if (get_priv_segment(i)->transaction_state != TS_NONE) {
- assert(get_priv_segment(i)->last_commit_log_entry == cl);
- }
+ assert(get_priv_segment(i)->last_commit_log_entry == cl);
}
#endif
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit