Skip to content
Tcl Source Code Check-in [fabfd40ca1]
Login

Check-in [fabfd40ca1]

Overview
Comment: * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter, TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.4 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: fabfd40ca1f07badc6d2a723bc1f3c2dd7cc2875
User & Date: andreas_kupries on 2009-07-14 16:31:48.000
Other Links: branch diff | manifest | tags
Context
2009-07-23
10:19
Fix for [Bug 2820349] check-in: a061d31ed4 user: mistachkin tags: core-8-4-branch
2009-07-14
16:31
* generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter, TclArgumentBCRelease, TclArgumentGet):... check-in: fabfd40ca1 user: andreas_kupries tags: core-8-4-branch
2009-06-13
14:38
* generic/tclCompile.c: The value stashed in iPtr->compiledProcPtr * generic/tclProc... check-in: 2c7022a845 user: dgp tags: core-8-4-branch
Changes