summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-05-22 15:32:22 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-05-22 15:32:22 (GMT)
commit53974cfe3afedf2b57c2bf571a26dcf1b4975c04 (patch)
tree99170a004c3cefe254e4e2d1f1338f1d6e029c0b /generic
parenta82f6fdd329bf1e1bca3f86918c6e6aedb17ec4f (diff)
downloadtcl-53974cfe3afedf2b57c2bf571a26dcf1b4975c04.zip
tcl-53974cfe3afedf2b57c2bf571a26dcf1b4975c04.tar.gz
tcl-53974cfe3afedf2b57c2bf571a26dcf1b4975c04.tar.bz2
removed unnecessary Tcl_DuplicateObj in generic/tclExecute.c
Diffstat (limited to 'generic')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index facb099..f6ca674 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -10,7 +10,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.23 2001/05/17 02:13:02 hobbs Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.24 2001/05/22 15:32:22 msofer Exp $
*/
#include "tclInt.h"
@@ -678,7 +678,7 @@ TclExecuteByteCode(interp, codePtr)
case INST_DUP:
valuePtr = stackPtr[stackTop];
- PUSH_OBJECT(Tcl_DuplicateObj(valuePtr));
+ PUSH_OBJECT(valuePtr);
TRACE_WITH_OBJ(("=> "), valuePtr);
ADJUST_PC(1);