summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2013-08-06 16:20:59 (GMT)
committerdgp@users.sourceforge.net <dgp>2013-08-06 16:20:59 (GMT)
commit4f2c8bbfdc4665a43326cb17fa2d332255c0c3c5 (patch)
tree74240aab87dc52a7409c56226eb7aaa1010e0650 /generic/tclBasic.c
parent4e1615a43cace286b2ab139cfdaf5957a9fa44ed (diff)
downloadtcl-4f2c8bbfdc4665a43326cb17fa2d332255c0c3c5.zip
tcl-4f2c8bbfdc4665a43326cb17fa2d332255c0c3c5.tar.gz
tcl-4f2c8bbfdc4665a43326cb17fa2d332255c0c3c5.tar.bz2
Add assertions that will guide and protect more discovery of dead code for elimination.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index baa2f2c..1889dfd 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -6109,6 +6109,8 @@ TclNREvalObjEx(
ContLineLoc *saveCLLocPtr = iPtr->scriptCLLocPtr;
ContLineLoc *clLocPtr = TclContinuationsGet(objPtr);
+ assert(invoker == NULL);
+
if (clLocPtr) {
iPtr->scriptCLLocPtr = clLocPtr;
Tcl_Preserve(iPtr->scriptCLLocPtr);