Author: Armin Rigo <[email protected]>
Branch: c7-refactor
Changeset: r731:9f3c9e6a0a31
Date: 2014-02-14 15:11 +0100
http://bitbucket.org/pypy/stmgc/changeset/9f3c9e6a0a31/
Log: Fix
diff --git a/c7/stmgc.h b/c7/stmgc.h
--- a/c7/stmgc.h
+++ b/c7/stmgc.h
@@ -153,7 +153,7 @@
'if (ct == 0 && (stm_flags & WRITE_BARRIER_CALLED) == 0)'
assuming that 'cm' is either 0 (not created in current transaction)
or 0xff (created in current transaction) */
- if (UNLIKELY(!(((stm_creation_marker_t *)(((uintptr_t)obj) >> 8)->cm |
+ if (UNLIKELY(!((((stm_creation_marker_t *)(((uintptr_t)obj) >> 8))->cm |
obj->stm_flags) & _STM_GCFLAG_WRITE_BARRIER_CALLED)))
_stm_write_slowpath(obj);
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit