diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2009-12-13 16:41:37 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2009-12-13 16:41:37 (GMT) |
commit | eb5b16a4cf09bf5b1a7d496074935db1ed60eed2 (patch) | |
tree | ce41c5677be5876be9627fcbbcf3abda2a474d50 /generic/tclExecute.c | |
parent | fabb640c47623974e09d5cce7939adc9dedd59ef (diff) | |
download | tcl-eb5b16a4cf09bf5b1a7d496074935db1ed60eed2.zip tcl-eb5b16a4cf09bf5b1a7d496074935db1ed60eed2.tar.gz tcl-eb5b16a4cf09bf5b1a7d496074935db1ed60eed2.tar.bz2 |
* generic/tclBasic.c: Moving TclBCArgumentRelease call
* generic/tclExecute.c: from TclNRTailcallObjCmd to TEBC, so that
the pairing of the Enter and Release calls is clearer.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index ec102b8..a8a979d 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.466 2009/12/11 05:49:41 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.467 2009/12/13 16:41:37 msofer Exp $ */ #include "tclInt.h" @@ -2852,6 +2852,9 @@ TclExecuteByteCode( fprintf(stdout, " Tailcall request received\n"); } #endif /* TCL_COMPILE_DEBUG */ + iPtr->cmdFramePtr = bcFramePtr->nextPtr; + TclArgumentBCRelease((Tcl_Interp *) iPtr, bcFramePtr); + if (catchTop != initCatchTop) { TEOV_callback *tailcallPtr = iPtr->varFramePtr->tailcallPtr; |