Author: Armin Rigo <[email protected]>
Branch:
Changeset: r329:5b45c01aa560
Date: 2013-07-01 12:29 +0200
http://bitbucket.org/pypy/stmgc/changeset/5b45c01aa560/
Log: Avoids doing this (I fixed the nursery to always really be null-
allocated)
diff --git a/c4/nursery.c b/c4/nursery.c
--- a/c4/nursery.c
+++ b/c4/nursery.c
@@ -91,7 +91,7 @@
assert(tid == (tid & STM_USER_TID_MASK));
gcptr P = allocate_nursery(size, tid);
P->h_revision = stm_private_rev_num;
- P->h_original = 0;
+ /*P->h_original = 0; --- the object is null-initialized already */
return P;
}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit