Author: Armin Rigo <[email protected]>
Branch: c7-full-profiling
Changeset: r1453:57b388129192
Date: 2014-10-04 18:17 +0200
http://bitbucket.org/pypy/stmgc/changeset/57b388129192/
Log: Fix the failure shown by demo2.c
diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -398,8 +398,13 @@
{
/* used to be more efficient, starting directly an inevitable transaction,
but there is no real point any more, I believe */
+ rewind_jmp_buf rjbuf;
+ stm_rewind_jmp_enterframe(tl, &rjbuf);
+
stm_start_transaction(tl);
stm_become_inevitable(tl, "start_inevitable_transaction");
+
+ stm_rewind_jmp_leaveframe(tl, &rjbuf);
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit