Overview
| Comment: | One of the validity checks for the "cmdName" type is to see if the resolved command has been deleted by checking for the CMD_IS_DELETED flag. Only one thing sets this flag -- Tcl_DeleteCommandFromToken(), and every time it sets that flag it also bumps the cmdEpoch of the Command as well. The "cmdName" type is already validating that epoch. It gains nothing to be checking the CMD_IS_DELETED flag too. Eliminated the pointless test. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
54fac92610d3bdd9779132ae2b440a93 |
| User & Date: | dgp on 2016-07-15 02:33:11.701 |
| Other Links: | manifest | tags |
Context
|
2016-07-15
| ||
| 12:36 | Stop using the tclCmdNameType to store failed command lookups. If we don't find a command, there's n... check-in: 5562afaf9b user: dgp tags: trunk | |
| 02:33 | One of the validity checks for the "cmdName" type is to see if the resolved command has been deleted... check-in: 54fac92610 user: dgp tags: trunk | |
|
2016-07-14
| ||
| 17:58 | Stop checking case that can never happen. check-in: 1ab1c04f34 user: dgp tags: trunk | |
Changes
Modified generic/tclObj.c
from [5e613c407c]
to [2d4144e805].
[diff]