[uim-commit] r2214 - branches/r5rs/sigscheme

yamaken at freedesktop.org yamaken at freedesktop.org
Mon Nov 21 23:32:08 PST 2005


Author: yamaken
Date: 2005-11-21 23:32:01 -0800 (Mon, 21 Nov 2005)
New Revision: 2214

Modified:
   branches/r5rs/sigscheme/storage-continuation.c
Log:
* sigscheme/storage-continuation.c
  - Revert r2212 because each continuation must have its own
    saved_trace_stack
  - (Scm_CallWithCurrentContinuation): Add volatile qualifier to
    saved_trace_stack. Etsushi, please let me know the result. I'll
    simplify the code more if it worked


Modified: branches/r5rs/sigscheme/storage-continuation.c
===================================================================
--- branches/r5rs/sigscheme/storage-continuation.c	2005-11-22 06:43:09 UTC (rev 2213)
+++ branches/r5rs/sigscheme/storage-continuation.c	2005-11-22 07:32:01 UTC (rev 2214)
@@ -79,7 +79,6 @@
 static ScmObj continuation_stack = NULL;
 
 static ScmObj trace_stack = NULL;
-static ScmObj saved_trace_stack = NULL;
 
 /*=======================================
   File Local Function Declarations
@@ -264,6 +263,7 @@
 {
     ScmObj cont = SCM_FALSE;
     ScmObj ret  = SCM_FALSE;
+    volatile ScmObj saved_trace_stack = SCM_FALSE;
     struct continuation_frame cont_frame;
 
     cont_frame.dyn_ext = current_dynamic_extent;



More information about the uim-commit mailing list