Author: Armin Rigo <[email protected]>
Branch:
Changeset: r241:ec718b479e29
Date: 2013-06-22 19:46 +0200
http://bitbucket.org/pypy/stmgc/changeset/ec718b479e29/
Log: Fix
diff --git a/c4/et.c b/c4/et.c
--- a/c4/et.c
+++ b/c4/et.c
@@ -1184,6 +1184,10 @@
{
/* copy the backup copy B back over the now-protected object P,
and then free B, which will not be used any more. */
+
+ if (P->h_original && !B->h_original) // might occur because of
+ B->h_original = P->h_original; //replace_ptr_to_protected_with_stub
+
assert(!(P->h_original)
|| (B->h_original == (revision_t)P->h_original));
size_t size = stmcb_size(B);
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit