summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-08-22 14:31:02 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-08-22 14:31:02 (GMT)
commit5a8f916a31c803b4dcb12854463ed5227cbdf36f (patch)
tree08fb5ebd28905cb4783f43a450cc20eb78886536
parent315e3662b6c8f926fb8539ae1f1e1aaae9145c27 (diff)
downloadtcl-5a8f916a31c803b4dcb12854463ed5227cbdf36f.zip
tcl-5a8f916a31c803b4dcb12854463ed5227cbdf36f.tar.gz
tcl-5a8f916a31c803b4dcb12854463ed5227cbdf36f.tar.bz2
* generic/tclExecute.c (TEBC): disable the new shortcut to frequent
INSTs for debug builds. REVERTED (collision with alternative fix)
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclExecute.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d2515ea..6e53d98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
2007-08-22 Miguel Sofer <msofer@users.sf.net>
* generic/tclExecute.c (TEBC): disable the new shortcut to frequent
- INSTs for debug builds.
+ INSTs for debug builds. REVERTED (collision with alternative fix)
2007-08-21 Don Porter <dgp@users.sourceforge.net>
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 99d7144..07de1b6 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.321 2007/08/22 14:04:16 dgp Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.322 2007/08/22 14:31:04 msofer Exp $
*/
#include "tclInt.h"
@@ -1662,13 +1662,11 @@ TclExecuteByteCode(
* reduces total obj size.
*/
-#if !TCL_COMPILE_DEBUG
if (*pc == INST_LOAD_SCALAR1) {
goto instLoadScalar1;
} else if (*pc == INST_PUSH1) {
goto instPush1Peephole;
}
-#endif
switch (*pc) {
case INST_RETURN_IMM: {