[pypy-commit] stmgc default: fix
arigo
noreply at buildbot.pypy.org
Wed Apr 9 13:05:48 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1150:0492e398156b
Date: 2014-04-09 13:04 +0200
http://bitbucket.org/pypy/stmgc/changeset/0492e398156b/
Log: fix
diff --git a/c7/stm/weakref.c b/c7/stm/weakref.c
--- a/c7/stm/weakref.c
+++ b/c7/stm/weakref.c
@@ -34,7 +34,7 @@
stm_char *point_to_loc = (stm_char*)WEAKREF_PTR(weakref, size);
long i;
- for (i = 1; i <= NB_SEGMENTS; i++) {
+ for (i = 0; i <= NB_SEGMENTS; i++) {
char *base = get_segment_base(i);
object_t ** ref_loc = (object_t **)REAL_ADDRESS(base, point_to_loc);
*ref_loc = value;
More information about the pypy-commit
mailing list