mirror of
https://github.com/irmen/prog8.git
synced 2024-08-19 14:29:17 +00:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # compiler/src/prog8/ast/Interfaces.kt # compiler/src/prog8/ast/expressions/AstExpressions.kt # compiler/src/prog8/ast/processing/AstChecker.kt # compiler/src/prog8/ast/processing/IAstModifyingVisitor.kt # compiler/src/prog8/ast/processing/IAstVisitor.kt # compiler/src/prog8/ast/processing/StatementReorderer.kt # compiler/src/prog8/ast/statements/AstStatements.kt # compiler/src/prog8/compiler/AstToSourceCode.kt # compiler/src/prog8/compiler/target/c64/AsmGen.kt # compiler/src/prog8/optimizer/StatementOptimizer.kt # examples/test.p8
This commit is contained in:
commit
9bc36b4d99
@ -65,6 +65,7 @@ fun compileProgram(filepath: Path,
|
|||||||
val time3 = measureTimeMillis {
|
val time3 = measureTimeMillis {
|
||||||
programAst.reorderStatements() // reorder statements and add type casts, to please the compiler later
|
programAst.reorderStatements() // reorder statements and add type casts, to please the compiler later
|
||||||
}
|
}
|
||||||
|
printAst(programAst)
|
||||||
//println(" time3: $time3")
|
//println(" time3: $time3")
|
||||||
val time4 = measureTimeMillis {
|
val time4 = measureTimeMillis {
|
||||||
programAst.checkValid(compilerOptions) // check if tree is valid
|
programAst.checkValid(compilerOptions) // check if tree is valid
|
||||||
|
Loading…
Reference in New Issue
Block a user