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: |
7022410d0dc0efc04bccf5ea811354fa |
| 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
Modified ChangeLog
from [48ba058154]
to [4751470b57].
[diff]
Modified generic/tclBasic.c
from [016c0514bd]
to [5a82347ae1].
[diff]
Modified generic/tclCompile.c
from [a6f5e27069]
to [d7af791246].
[diff]
Modified generic/tclCompile.h
from [b7876aff06]
to [2a22aebbab].
[diff]
Modified generic/tclExecute.c
from [eed2609d30]
to [518d88b848].
[diff]
Modified generic/tclInt.h
from [849a7736bb]
to [149d3f8351].
[diff]
Modified tests/info.test
from [51a832f93f]
to [d29ee4d350].
[diff]