summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-11-12 22:12:05 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-11-12 22:12:05 (GMT)
commit5b4e070132a72fbdc6e847f3d867b0ac50b2b27e (patch)
tree03c22f508c951d244ef37a1f442a9ec42a8fadf3 /generic/tclExecute.c
parentf1697bec1072b46875019441e44ac305288cd658 (diff)
downloadtcl-5b4e070132a72fbdc6e847f3d867b0ac50b2b27e.zip
tcl-5b4e070132a72fbdc6e847f3d867b0ac50b2b27e.tar.gz
tcl-5b4e070132a72fbdc6e847f3d867b0ac50b2b27e.tar.bz2
RE: [Patch 1830184] TclResetResult
THIS PATCH WAS REVERTED: initial (mis)measurements overstated the perfomance wins, which turn out to be tiny. Not worth the complication.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index db7a504..44cb8e8 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -13,7 +13,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.347 2007/11/12 03:38:13 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.348 2007/11/12 22:12:06 msofer Exp $
*/
#include "tclInt.h"
@@ -1218,7 +1218,7 @@ Tcl_ExprObj(
saveObjPtr = Tcl_GetObjResult(interp);
Tcl_IncrRefCount(saveObjPtr);
- TclResetResult(interp);
+ Tcl_ResetResult(interp);
/*
* Increment the code's ref count while it is being executed. If
@@ -6336,7 +6336,7 @@ TclExecuteByteCode(
case INST_END_CATCH:
catchTop--;
- TclResetResult(interp);
+ Tcl_ResetResult(interp);
result = TCL_OK;
TRACE(("=> catchTop=%d\n", (catchTop - initCatchTop - 1)));
NEXT_INST_F(1, 0, 0);