summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2005-10-19 13:15:13 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2005-10-19 13:15:13 (GMT)
commit0e20ec5de2f4c95597a4c146ea2a6d469f37357f (patch)
treecf2001fd861c914beadd9a6b597a869b3573f09c /generic/tclExecute.c
parent8540fb99362b191b8fbe883b74591330bf627163 (diff)
downloadtcl-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]
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
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