diff options
author | dgp <dgp@users.sourceforge.net> | 2009-06-13 14:31:54 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-06-13 14:31:54 (GMT) |
commit | fdb97a3d7dd85152f33c8232bc038c32e995f8af (patch) | |
tree | 8a8bac4cfc411db6707e3d29ce9f63736576578c /tools | |
parent | 6e902e710f444b6f54b6134c61317a4d37a22804 (diff) | |
download | tcl-fdb97a3d7dd85152f33c8232bc038c32e995f8af.zip tcl-fdb97a3d7dd85152f33c8232bc038c32e995f8af.tar.gz tcl-fdb97a3d7dd85152f33c8232bc038c32e995f8af.tar.bz2 |
* generic/tclCompile.c: The value stashed in iPtr->compiledProcPtr
* generic/tclProc.c: when compiling a proc survives too long. We
* tests/execute.test: only need it there long enough for the right
TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once
that is done, the CompileEnv controls. If we let the value of
iPtr->compiledProcPtr linger, though, then any other bytecode compile
operation that takes place will also have its CompileEnv initialized
with it, and that's not correct. The value is meant to control the
compile of the proc body only, not other compile tasks that happen
along. Thanks to Carlos Tasada for discovering and reporting the
problem. [Bug 2802881].
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions