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: |
fabfd40ca1f07badc6d2a723bc1f3c2d |
| 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
Modified ChangeLog
from [80f1d2e23c]
to [53beb5e6e2].
[diff]
Modified generic/tclBasic.c
from [03ac542357]
to [be5c0c7573].
[diff]
Modified generic/tclCompile.c
from [3c866db655]
to [860477c5e6].
[diff]
Modified generic/tclCompile.h
from [6acdbc4531]
to [4b58678df0].
[diff]
Modified generic/tclExecute.c
from [d6ace33671]
to [8da9c589be].
[diff]
Modified generic/tclInt.h
from [5a600f7be8]
to [90113727f3].
[diff]
Modified tests/info.test
from [2bbb17752d]
to [9d8d040587].
[diff]