diff options
| author | Miguel Sofer <miguel.sofer@gmail.com> | 2004-05-12 17:43:52 (GMT) |
|---|---|---|
| committer | Miguel Sofer <miguel.sofer@gmail.com> | 2004-05-12 17:43:52 (GMT) |
| commit | ff94fbb52e6fa1c027cb1ce14fe75199ba5633c0 (patch) | |
| tree | a05f9e6a5498d422911ad35005a0f3a51b875ceb /unix | |
| parent | ab125784888c730fc25320524bd4d083c570c03e (diff) | |
| download | tcl-ff94fbb52e6fa1c027cb1ce14fe75199ba5633c0.zip tcl-ff94fbb52e6fa1c027cb1ce14fe75199ba5633c0.tar.gz tcl-ff94fbb52e6fa1c027cb1ce14fe75199ba5633c0.tar.bz2 | |
Optimisations for INST_START_CMD [Bug 926164].
* generic/tclCompile.c (TclCompileScript): avoid emitting
INST_START_CMD as the first instruction in a bytecoded Tcl_Obj. It
is not needed, as the checks are done before calling TEBC.
* generic/tclExecute.c (TclExecuteByteCode): runtime peephole
optimisation: check at INST_POP if the next instruction is
INST_START_CMD, in which case we fall through.
Diffstat (limited to 'unix')
0 files changed, 0 insertions, 0 deletions
