From 53974cfe3afedf2b57c2bf571a26dcf1b4975c04 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Tue, 22 May 2001 15:32:22 +0000 Subject: removed unnecessary Tcl_DuplicateObj in generic/tclExecute.c --- ChangeLog | 4 ++++ generic/tclExecute.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6e395c7..73715c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-05-22 Miguel Sofer + + * generic/tclExecute.c: removed Tcl_DuplicateObj in INST_DUP + 2001-05-19 Andreas Kupries * 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); -- cgit v0.12