Artifacts Associated With Ticket 480896ffffffffff
Ticket change [39db7ef651] (rid 112463) by msofer on 2001-11-12 13:07:00:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The code of the INST_INVOKE instructions tclExecute.c:TclExecuteByteCode) essentially duplicates the code of tclParse.c:EvalObjv. The attached patch removes this duplication by havinf INST_INVOKE actually call the objv evaluation code (renamed to TclEvalObjvInternal andnot static to tclParse.c any longer). While doing this, an inconsistency in the computation of iPtr->numLevels was discovered: * when evaluating a bytecode (INST_INVOKE), a command invocation does not increase the levels. If the command is a proc invocation, the levels are increased while evaluating the body. * when doing a direct evaluation (EvalObjv), a command invocation increases the levels. If the command is a proc, the levels are increased again when evaluating the body. This inconsistency is also corrected in the patch. With it, a command invocation always increases the levels. Proc calls increase the levels just *once* (by decreasing it before evaling the body, and restoring the old value afterwards). The last correction introduced: the error message on too many nested calls is now the same for all possible issuers.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "duplicated code, wrong level counts"
- type initialized to: "Bug"
Ticket change [f0439f12fe] (rid 109158) by msofer on 2001-11-12 20:07:01:
- icomment:
File Added - 13206: levels.patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [bf280dca97] (rid 102210) by msofer on 2001-11-12 21:22:03:
- icomment:
File Added - 13212: levels1.patch Logged In: YES user_id=148712 Oops; removing now unneeded static function CallTraceProcedure in tclExecute.c --> new patch levels1.patch Jeff: do you see any problem with this?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [0715333a02] (rid 89325) by msofer on 2001-11-12 21:22:04:
- icomment:
File Deleted - 13206:
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [54153eef24] (rid 93877) by msofer on 2001-11-13 03:13:54:
- icomment:
Logged In: YES user_id=148712 levels2.patch fixes the trace behaviour for precompiled bytecodes, avoids unnecessary string copy.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "levels2.patch" [d52ee6fc2e] (rid 123572) by msofer on 2001-11-13 03:13:54.
Ticket change [2059989b3a] (rid 91298) by msofer on 2001-11-13 03:13:55:
- icomment:
File Added - 13226: levels2.patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [bcfcf3acde] (rid 101837) by msofer on 2001-11-13 03:34:30:
- icomment:
File Deleted - 13212:
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [c9381f8b8c] (rid 122246) by msofer on 2001-11-17 03:01:50:
- assignee changed to: "msofer"
- closedate changed to: "2001-11-16T20:01:50"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Patch committed.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"