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")