diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2001-05-22 15:32:22 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2001-05-22 15:32:22 (GMT) |
commit | 53974cfe3afedf2b57c2bf571a26dcf1b4975c04 (patch) | |
tree | 99170a004c3cefe254e4e2d1f1338f1d6e029c0b | |
parent | a82f6fdd329bf1e1bca3f86918c6e6aedb17ec4f (diff) | |
download | tcl-53974cfe3afedf2b57c2bf571a26dcf1b4975c04.zip tcl-53974cfe3afedf2b57c2bf571a26dcf1b4975c04.tar.gz tcl-53974cfe3afedf2b57c2bf571a26dcf1b4975c04.tar.bz2 |
removed unnecessary Tcl_DuplicateObj in generic/tclExecute.c
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclExecute.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2001-05-22 Miguel Sofer <msofer@users.sourceforge.net> + + * generic/tclExecute.c: removed Tcl_DuplicateObj in INST_DUP + 2001-05-19 Andreas Kupries <andreas_kupries@users.sourceforge.net> * Note that "tclbench" (see project "tcllib") was extended with 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); |