diff options
author | dgp <dgp@users.sourceforge.net> | 2009-07-24 20:45:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-07-24 20:45:22 (GMT) |
commit | e1465aee3a159ab7eb67703d6b658593ed7e8cee (patch) | |
tree | b4dc943c88eabdabbac62f9a6178f342237f3a7d /generic/tclExecute.c | |
parent | 710802429c69bb7c6e322c2fc6f2fa2298381a64 (diff) | |
download | tcl-e1465aee3a159ab7eb67703d6b658593ed7e8cee.zip tcl-e1465aee3a159ab7eb67703d6b658593ed7e8cee.tar.gz tcl-e1465aee3a159ab7eb67703d6b658593ed7e8cee.tar.bz2 |
minor cleanups
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 8ccdbe1..1a9c9a9 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.442 2009/07/16 21:24:39 dgp Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.443 2009/07/24 20:45:23 dgp Exp $ */ #include "tclInt.h" @@ -674,6 +674,7 @@ static void ValidatePcAndStackTop(ByteCode *codePtr, const unsigned char *pc, int stackTop, int stackLowerBound, int checkStack); #endif /* TCL_COMPILE_DEBUG */ +static ByteCode * CompileExprObj(Tcl_Interp *interp, Tcl_Obj *objPtr); static void DeleteExecStack(ExecStack *esPtr); static void DupExprCodeInternalRep(Tcl_Obj *srcPtr, Tcl_Obj *copyPtr); @@ -687,6 +688,7 @@ static Tcl_Obj ** GrowEvaluationStack(ExecEnv *eePtr, int growth, static void IllegalExprOperandType(Tcl_Interp *interp, const unsigned char *pc, Tcl_Obj *opndPtr); static void InitByteCodeExecution(Tcl_Interp *interp); +static inline int OFFSET(void *ptr); /* Useful elsewhere, make available in tclInt.h or stubs? */ static Tcl_Obj ** StackAllocWords(Tcl_Interp *interp, int numWords); static Tcl_Obj ** StackReallocWords(Tcl_Interp *interp, int numWords); |