diff options
author | andreas_kupries <akupries@shaw.ca> | 2009-07-14 16:33:12 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2009-07-14 16:33:12 (GMT) |
commit | 06eaea4df70451d16154d922e94eaba288cc8839 (patch) | |
tree | f52fafcaabff986052846ac6eeb3fb691118e600 /generic/tclScan.c | |
parent | 96886634efaa755005489a262696057f0611f32f (diff) | |
download | tcl-06eaea4df70451d16154d922e94eaba288cc8839.zip tcl-06eaea4df70451d16154d922e94eaba288cc8839.tar.gz tcl-06eaea4df70451d16154d922e94eaba288cc8839.tar.bz2 |
* 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).
Diffstat (limited to 'generic/tclScan.c')
0 files changed, 0 insertions, 0 deletions