summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-05-26 16:33:37 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-05-26 16:33:37 (GMT)
commitfc6928c19cf817f90924816477e7646e3ab9ccb0 (patch)
tree6ddf2d9305ace4640bb64a5d4a33de08ca4fcb73 /generic/tclExecute.c
parent7934310e9e0c4d8136a7eb664890ea86eeb6b322 (diff)
downloadtcl-fc6928c19cf817f90924816477e7646e3ab9ccb0.zip
tcl-fc6928c19cf817f90924816477e7646e3ab9ccb0.tar.gz
tcl-fc6928c19cf817f90924816477e7646e3ab9ccb0.tar.bz2
Reduce to minimum set of TclResetRewriteEnsemble() calls.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 61d75cb..67eabdb 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2081,6 +2081,8 @@ TclNRExecuteByteCode(
* Push the callback for bytecode execution
*/
+ TclResetRewriteEnsemble(interp, 1);
+
TclNRAddCallback(interp, TEBCresume, TD, /* pc */ NULL,
/* cleanup */ INT2PTR(0), NULL);
return TCL_OK;