summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-12-06 09:28:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-12-06 09:28:45 (GMT)
commit7631cbda15c13ff69b665f0b71ad20c866c00624 (patch)
tree628495248d2859ac2236a55f946637dcf06c70b4 /generic/tclExecute.c
parenta630c1dc2232dccafd45cdf3fc7962f25108bf42 (diff)
downloadtcl-7631cbda15c13ff69b665f0b71ad20c866c00624.zip
tcl-7631cbda15c13ff69b665f0b71ad20c866c00624.tar.gz
tcl-7631cbda15c13ff69b665f0b71ad20c866c00624.tar.bz2
Stop printing undefined values in disassembled code.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index a831cd6..f496fe7 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -6197,7 +6197,6 @@ TEBCresume(
* corresponding Tcl_Objs to the stack.
*/
-
opnd = TclGetUInt4AtPtr(pc+1);
infoPtr = codePtr->auxDataArrayPtr[opnd].clientData;
numLists = infoPtr->numLists;
@@ -6229,7 +6228,7 @@ TEBCresume(
}
listTmpDepth--;
}
-
+
/*
* Store the iterNum and iterMax in a single Tcl_Obj; we keep a
* nul-string obj with the pointer stored in the ptrValue so that the
@@ -6241,12 +6240,12 @@ TEBCresume(
tmpPtr->internalRep.twoIntValue.int1 = 0;
tmpPtr->internalRep.twoIntValue.int2 = iterMax;
PUSH_OBJECT(tmpPtr); /* iterCounts object */
-
+
/*
* Store a pointer to the ForeachInfo struct; same dirty trick
- * as above
+ * as above
*/
-
+
TclNewObj(tmpPtr);
tmpPtr->internalRep.otherValuePtr = infoPtr;
PUSH_OBJECT(tmpPtr); /* infoPtr object */
@@ -6254,10 +6253,10 @@ TEBCresume(
/*
* Jump directly to the INST_FOREACH_STEP instruction; the C code just
* falls through.
- */
+ */
pc += 5 - infoPtr->loopCtTemp;
-
+
case INST_FOREACH_STEP:
/*
* "Step" a foreach loop (i.e., begin its next iteration) by assigning
@@ -6276,14 +6275,14 @@ TEBCresume(
* If some list still has a remaining list element iterate one more
* time. Assign to var the next element from its value list.
*/
-
+
if (iterNum < iterMax) {
/*
* Set the variables and jump back to run the body
*/
tmpPtr->internalRep.twoIntValue.int1 = iterNum + 1;
-
+
listTmpDepth = numLists + 1;
for (i = 0; i < numLists; i++) {