Author: Armin Rigo <[email protected]>
Branch:
Changeset: r947:7bc0bad288b5
Date: 2014-03-04 17:58 +0100
http://bitbucket.org/pypy/stmgc/changeset/7bc0bad288b5/
Log: This belongs together with 732edc0f0e90
diff --git a/c7/stm/setup.c b/c7/stm/setup.c
--- a/c7/stm/setup.c
+++ b/c7/stm/setup.c
@@ -49,7 +49,7 @@
PROT_NONE);
struct stm_priv_segment_info_s *pr = get_priv_segment(i);
- assert(i + 1 <= 255);
+ assert(i + 1 < 255); /* 255 is WL_VISITED in gcpage.c */
pr->write_lock_num = i + 1;
pr->pub.segment_num = i;
pr->pub.segment_base = segment_base;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit