diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-06-10 23:15:05 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-06-10 23:15:05 (GMT) |
commit | 57ba79b9aa406ba55b5987ac6bf3556cce00d9df (patch) | |
tree | 9e526ad2806f8efeac869fbd387fcf300f74d7ea /generic/tclCompile.h | |
parent | 78cbf63f6981c799426895c68d288d6ab57f0d01 (diff) | |
download | tcl-57ba79b9aa406ba55b5987ac6bf3556cce00d9df.zip tcl-57ba79b9aa406ba55b5987ac6bf3556cce00d9df.tar.gz tcl-57ba79b9aa406ba55b5987ac6bf3556cce00d9df.tar.bz2 |
* generic/tclBasic.c: Further TEOvI split, creating a new
* generic/tclCompile.h: TclEvalObjvKnownCommand() function to
* generic/tclExecute.c: handle commands that are already known
and are not traced. INST_INVOKE now calls into this function
instead of inlining parts of TEOvI. Same perf, better isolation.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index f27843e..d96c5f1 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.h,v 1.71 2007/05/30 18:12:58 dgp Exp $ + * RCS: @(#) $Id: tclCompile.h,v 1.72 2007/06/10 23:15:05 msofer Exp $ */ #ifndef _TCLCOMPILATION @@ -806,9 +806,11 @@ typedef struct { */ MODULE_SCOPE int TclEvalObjvInternal(Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[], + int objc, Tcl_Obj *const objv[], CONST char *command, int length, int flags); - +MODULE_SCOPE int TclEvalObjvKnownCommand(Tcl_Interp *interp, + int objc, Tcl_Obj *const objv[], + Command *cmdPtr); /* *---------------------------------------------------------------- * Procedures exported by the engine to be used by tclBasic.c |