summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-10-08 09:02:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-10-08 09:02:50 (GMT)
commit784987f7c11d9990ed7e2db04d85d42f177bdefd (patch)
tree597e46323b2e5e99c4ce5b7637219be985773d6b /generic/tclEnsemble.c
parentfb703e49177297d9c7ae9c6eb5bdaefe338838b2 (diff)
downloadtcl-784987f7c11d9990ed7e2db04d85d42f177bdefd.zip
tcl-784987f7c11d9990ed7e2db04d85d42f177bdefd.tar.gz
tcl-784987f7c11d9990ed7e2db04d85d42f177bdefd.tar.bz2
Working towards better handling of stack balance with break and continue exceptions.
Diffstat (limited to 'generic/tclEnsemble.c')
-rw-r--r--generic/tclEnsemble.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c
index ad11785..9bb7a0c 100644
--- a/generic/tclEnsemble.c
+++ b/generic/tclEnsemble.c
@@ -3179,9 +3179,7 @@ CompileToInvokedCommand(
* Do the replacing dispatch.
*/
- TclEmitInstInt4(INST_INVOKE_REPLACE, parsePtr->numWords, envPtr);
- TclEmitInt1(numWords+1, envPtr);
- TclAdjustStackDepth(-1, envPtr); /* Correction to stack depth calcs. */
+ TclEmitInvoke(envPtr, INST_INVOKE_REPLACE, parsePtr->numWords,numWords+1);
}
/*