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

Check-in [7022410d0d]

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.5 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-5-branch
Files: files | file ages | folders
SHA1: 7022410d0dc0efc04bccf5ea811354fa804d2454
User & Date: andreas_kupries on 2009-07-14 16:33:12.000
Other Links: branch diff | manifest | tags
Context
2009-07-15
22:27
fix 64bit int <-> ptr cast warnings check-in: e30aeb4cb6 user: das tags: core-8-5-branch
2009-07-14
16:33
* generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter, TclArgumentBCRelease, TclArgumentGet):... check-in: 7022410d0d user: andreas_kupries tags: core-8-5-branch
2009-07-01
15:29
Cast wide integer to int conversion and some signed/unsigned conversions. (silence msvc6 warnings) check-in: a36d676c25 user: patthoyts tags: core-8-5-branch
Changes