summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.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/tclBasic.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/tclBasic.c')
-rw-r--r--generic/tclBasic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 5b38f5f..09eecc1 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.280 2007/11/12 03:38:13 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.281 2007/11/12 22:12:05 msofer Exp $
*/
#include "tclInt.h"
@@ -3426,7 +3426,7 @@ TclInterpReady(
* any previous error information.
*/
- TclResetResult(iPtr);
+ Tcl_ResetResult(interp);
/*
* If the interpreter has been deleted, return an error.
@@ -5398,7 +5398,6 @@ Tcl_AddObjErrorInfo(
}
Tcl_AppendToObj(iPtr->errorInfo, message, length);
}
- ((Interp *) interp)->flags |= INTERP_RESULT_UNCLEAN;
}
/*