From d41419c07d90567c76f27ec6c1c7a78ae083d8fd Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Mon, 14 Jul 2008 02:03:52 +0000 Subject: * generic/tclExecute.c: Remove unneeded TclInterpReady call --- ChangeLog | 2 ++ generic/tclExecute.c | 13 +------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index d86e1cd..ea97cfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-07-14 Miguel Sofer + * generic/tclExecute.c: Remove unneeded TclInterpReady call + * generic/tclBasic.c.: Embedded Tcl_Canceled() calls into * generic/tclExecute.c: TclInterpReady(). * generic/tclParse.c: diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 8e6a056..fc1ca9c 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.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: tclExecute.c,v 1.379 2008/07/14 01:38:00 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.380 2008/07/14 02:03:53 msofer Exp $ */ #include "tclInt.h" @@ -1495,17 +1495,6 @@ TclCompileObj( register ByteCode *codePtr; /* Tcl Internal type of bytecode. */ Namespace *namespacePtr; - /* - * Check that the interpreter is ready to execute scripts. Note that we - * manage the interp's runlevel here: it is a small white lie (maybe), but - * saves a ++/-- pair at each invocation. Amazingly enough, the impact on - * performance is noticeable. - */ - - if (TclInterpReady(interp) == TCL_ERROR) { - return NULL; - } - namespacePtr = iPtr->varFramePtr->nsPtr; /* -- cgit v0.12