diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2005-04-13 09:39:30 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2005-04-13 09:39:30 (GMT) |
commit | 1ecb433c37e275de5c25ded47dff83781103a095 (patch) | |
tree | a7fb74472eb49f9217f99cc9f7f7a92e085a09bf /generic | |
parent | e691fce6b050292abd74b38b28886b6e5bcea55b (diff) | |
download | tcl-1ecb433c37e275de5c25ded47dff83781103a095.zip tcl-1ecb433c37e275de5c25ded47dff83781103a095.tar.gz tcl-1ecb433c37e275de5c25ded47dff83781103a095.tar.bz2 |
* generic/tclCompile.c:Commented out the functions
TclPrintInstruction(), TclPrintObject() and TclPrintSource() when
not debugging the compiler, as they are never called in that case.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCompile.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 6dbc1e2..259e42f 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -11,7 +11,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.c,v 1.82 2005/03/14 17:17:24 msofer Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.83 2005/04/13 09:39:30 msofer Exp $ */ #include "tclInt.h" @@ -3108,6 +3108,7 @@ TclPrintByteCodeObj(interp, objPtr) } #endif /* TCL_COMPILE_DEBUG */ +#ifdef TCL_COMPILE_DEBUG /* *---------------------------------------------------------------------- * @@ -3238,7 +3239,9 @@ TclPrintInstruction(codePtr, pc) fprintf(stdout, "\n"); return numBytes; } +#endif /* TCL_COMPILE_DEBUG */ +#ifdef TCL_COMPILE_DEBUG /* *---------------------------------------------------------------------- * @@ -3269,7 +3272,9 @@ TclPrintObject(outFile, objPtr, maxChars) bytes = Tcl_GetStringFromObj(objPtr, &length); TclPrintSource(outFile, bytes, TclMin(length, maxChars)); } +#endif /* TCL_COMPILE_DEBUG */ +#ifdef TCL_COMPILE_DEBUG /* *---------------------------------------------------------------------- * @@ -3331,6 +3336,7 @@ TclPrintSource(outFile, stringPtr, maxChars) } fprintf(outFile, "\""); } +#endif /* TCL_COMPILE_DEBUG */ #ifdef TCL_COMPILE_STATS /* |