summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormig <mig>2013-01-11 21:16:07 (GMT)
committermig <mig>2013-01-11 21:16:07 (GMT)
commitd81457480e5c82082fc46b4ef2e1f7bcd2406e73 (patch)
tree47d8d83bd6a728fb9f08c04e5c43fd4bd45255b6
parenteff3ee2c1251dbbfc4583699a438004ff03aeb8c (diff)
downloadtcl-d81457480e5c82082fc46b4ef2e1f7bcd2406e73.zip
tcl-d81457480e5c82082fc46b4ef2e1f7bcd2406e73.tar.gz
tcl-d81457480e5c82082fc46b4ef2e1f7bcd2406e73.tar.bz2
better comments
-rw-r--r--generic/tclExecute.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index bc755e8..1ed8949 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2301,6 +2301,10 @@ TEBCresume(
TCL_DTRACE_INST_NEXT();
while (*pc == INST_START_CMD) {
+ /*
+ * Peephole: do not run INST_START_CMD, just skip it
+ */
+
#ifdef TCL_COMPILE_STATS
iPtr->stats.instructionCount[*pc]++;
#endif
@@ -7062,13 +7066,13 @@ TEBCresume(
/*
* INST_START_CMD failure case removed where it doesn't bother that much
- */
- /* case INST_START_CMD:
*
* Remark that if the interpreter is marked for deletion its
* compileEpoch is modified, so that the epoch check also verifies
* that the interp is not deleted. If no outside call has been made
* since the last check, it is safe to omit the check.
+
+ * case INST_START_CMD:
*/
instStartCmdFailed: