diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2005-10-19 13:15:13 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2005-10-19 13:15:13 (GMT) |
commit | 0e20ec5de2f4c95597a4c146ea2a6d469f37357f (patch) | |
tree | cf2001fd861c914beadd9a6b597a869b3573f09c | |
parent | 8540fb99362b191b8fbe883b74591330bf627163 (diff) | |
download | tcl-0e20ec5de2f4c95597a4c146ea2a6d469f37357f.zip tcl-0e20ec5de2f4c95597a4c146ea2a6d469f37357f.tar.gz tcl-0e20ec5de2f4c95597a4c146ea2a6d469f37357f.tar.bz2 |
* generic/tclExecute.c (INST_DICT_APPEND, INST_DICT_LAPPEND):
fixed faulty peephole optimisation that can cause crashes
[Bug 1331475]
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generic/tclExecute.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2005-10-19 Miguel Sofer <msofer@users.sf.net> + + * generic/tclExecute.c (INST_DICT_APPEND, INST_DICT_LAPPEND): + fixed faulty peephole optimisation that can cause crashes + [Bug 1331475] + 2005-10-18 Don Porter <dgp@users.sourceforge.net> * generic/tclExecute.c: Added optimization for I32L64 systems to diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 6663dfd..3f1971f 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.215 2005/10/18 13:19:12 dgp Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.216 2005/10/19 13:15:14 msofer Exp $ */ #include "tclInt.h" @@ -5882,7 +5882,7 @@ TclExecuteByteCode(interp, codePtr) } } #ifndef TCL_COMPILE_DEBUG - if (*(pc+9) == INST_POP) { + if (*(pc+5) == INST_POP) { NEXT_INST_F(6, 2, 0); } #endif |