summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2009-12-10 17:48:39 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2009-12-10 17:48:39 (GMT)
commit5e126fd43fcba3e54f62f4e92afb95fcf492e683 (patch)
treee878be33a8af33b564d5e3904935d13e4d28098c /generic/tclExecute.c
parent5d16655f0b3f57cc706cdc882ed7d0d5edd9c14b (diff)
downloadtcl-5e126fd43fcba3e54f62f4e92afb95fcf492e683.zip
tcl-5e126fd43fcba3e54f62f4e92afb95fcf492e683.tar.gz
tcl-5e126fd43fcba3e54f62f4e92afb95fcf492e683.tar.bz2
* generic/tclBasic.c: Reducing the # of moving parts for
* generic/tclExecute.c: coroutines by delegating more to tebc; eliminate the special coroutine CallFrame.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 9597075..28fab46 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.459 2009/12/10 16:54:01 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.460 2009/12/10 17:48:39 msofer Exp $
*/
#include "tclInt.h"
@@ -2040,6 +2040,7 @@ TclExecuteByteCode(
corPtr->base.cmdFramePtr = bcFramePtr;
BP->prevBottomPtr = NULL;
+ iPtr->varFramePtr->callerPtr = iPtr->rootFramePtr;
}
if (!corPtr->stackLevel) {