From 892fa7688327428185ee84775455c2a4997fc9a8 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Mon, 1 Jan 2024 20:48:41 +0100 Subject: [PATCH] remove debug output --- compiler/src/prog8/compiler/Compiler.kt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/compiler/src/prog8/compiler/Compiler.kt b/compiler/src/prog8/compiler/Compiler.kt index 05c8db0ac..2118743a2 100644 --- a/compiler/src/prog8/compiler/Compiler.kt +++ b/compiler/src/prog8/compiler/Compiler.kt @@ -6,11 +6,9 @@ import prog8.ast.Program import prog8.ast.base.AstException import prog8.ast.expressions.Expression import prog8.ast.expressions.NumericLiteral -import prog8.ast.printProgram import prog8.ast.statements.Directive import prog8.code.SymbolTableMaker import prog8.code.ast.PtProgram -import prog8.code.ast.printAst import prog8.code.core.* import prog8.code.optimize.optimizeIntermediateAst import prog8.code.target.* @@ -123,15 +121,15 @@ fun compileProgram(args: CompilerArguments): CompilationResult? { program.processAstBeforeAsmGeneration(compilationOptions, args.errors) args.errors.report() - println("*********** COMPILER AST RIGHT BEFORE ASM GENERATION *************") - printProgram(program) +// println("*********** COMPILER AST RIGHT BEFORE ASM GENERATION *************") +// printProgram(program) val intermediateAst = IntermediateAstMaker(program, args.errors).transform() optimizeIntermediateAst(intermediateAst, compilationOptions, args.errors) args.errors.report() - println("*********** AST RIGHT BEFORE ASM GENERATION *************") - printAst(intermediateAst, true, ::println) +// println("*********** AST RIGHT BEFORE ASM GENERATION *************") +// printAst(intermediateAst, true, ::println) if(!createAssemblyAndAssemble(intermediateAst, args.errors, compilationOptions)) { System.err.println("Error in codegeneration or assembler")