summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-05-24 19:28:50 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-05-24 19:28:50 (GMT)
commit6f3bd38c61b5deddb1bcd376c798ca8aa12351a7 (patch)
tree38747b6eae9f73159f5fa06f28901d586c45505f /generic/tclProc.c
parentca66ff4b66c7c2c37cf104ead999ae2fc8c85747 (diff)
downloadtcl-6f3bd38c61b5deddb1bcd376c798ca8aa12351a7.zip
tcl-6f3bd38c61b5deddb1bcd376c798ca8aa12351a7.tar.gz
tcl-6f3bd38c61b5deddb1bcd376c798ca8aa12351a7.tar.bz2
Appears that the TclInitRewriteEnsemble() routine was created with an intent
to refactor, but never actually got used. Work on continuing that effort.
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 172b860..1a3bdb7 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -1786,6 +1786,8 @@ TclNRInterpProcCore(
* Invoke the commands in the procedure's body.
*/
+ TclResetRewriteEnsemble(interp, 1);
+
procPtr->refCount++;
codePtr = procPtr->bodyPtr->internalRep.twoPtrValue.ptr1;