summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-06-14 02:43:13 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-06-14 02:43:13 (GMT)
commit581f24016c998cd22f2affc43f5fbba975afdb2f (patch)
tree668a7f1170658e5a8066cd6978b97061e3352782 /generic/tclExecute.c
parentf5e1bf03c4958605fef78a153d412ae9085fdb61 (diff)
downloadtcl-581f24016c998cd22f2affc43f5fbba975afdb2f.zip
tcl-581f24016c998cd22f2affc43f5fbba975afdb2f.tar.gz
tcl-581f24016c998cd22f2affc43f5fbba975afdb2f.tar.bz2
* generic/tclExecute.c (TclCompEvalObj): missed update to "there
is always a valid frame". * generic/tclProc.c (TclObjInterpProcCore): call TEBC directly instead of going through TclCompEvalObj - no need to check the compilation's freshness, this has already been done. This improves speed and should also provide some relief to [Bug 1066755].
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 77620a5..fd4474e 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -12,7 +12,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.291 2007/06/11 15:12:08 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.292 2007/06/14 02:43:14 msofer Exp $
*/
#include "tclInt.h"
@@ -1109,11 +1109,7 @@ TclCompEvalObj(
return TCL_ERROR;
}
- if (iPtr->varFramePtr != NULL) {
- namespacePtr = iPtr->varFramePtr->nsPtr;
- } else {
- namespacePtr = iPtr->globalNsPtr;
- }
+ namespacePtr = iPtr->varFramePtr->nsPtr;
/*
* If the object is not already of tclByteCodeType, compile it (and reset