summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 11:24:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 11:24:32 (GMT)
commit17f327920becbb38bca60ea702051b9e3aa05149 (patch)
tree1bbd46a3d4f7668cd8613b56e9e4ba34caf97754 /generic/tclAssembly.c
parentee407b9bf60dbb8dac81770bcc01422decf03c2b (diff)
parent208d3bc095fdd08edae1515322e61c85561a572a (diff)
downloadtcl-17f327920becbb38bca60ea702051b9e3aa05149.zip
tcl-17f327920becbb38bca60ea702051b9e3aa05149.tar.gz
tcl-17f327920becbb38bca60ea702051b9e3aa05149.tar.bz2
Eliminate TclPrintByteCodeObj()'s 'interp' argument, which is not used. Fix some indenting.
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index 7bec144..cda5072 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -922,12 +922,7 @@ CompileAssembleObj(
* Report on what the assembler did.
*/
-#ifdef TCL_COMPILE_DEBUG
- if (tclTraceCompile >= 2) {
- TclPrintByteCodeObj(interp, objPtr);
- fflush(stdout);
- }
-#endif /* TCL_COMPILE_DEBUG */
+ TclDebugPrintByteCodeObj(objPtr);
return codePtr;
}