Skip to content

Commit

Permalink
1. 注释Debug print方法。
Browse files Browse the repository at this point in the history
  • Loading branch information
whtoo committed Nov 6, 2023
1 parent 7742b7c commit 808aacf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ep20/src/main/java/org/teachfx/antlr4/ep20/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.teachfx.antlr4.ep20.ast.ASTNode;
import org.teachfx.antlr4.ep20.driver.Phase;
import org.teachfx.antlr4.ep20.ir.IRNode;
import org.teachfx.antlr4.ep20.ir.Prog;
import org.teachfx.antlr4.ep20.ir.stmt.Label;
Expand Down Expand Up @@ -52,7 +53,7 @@ public static void main(String[] args) throws IOException {
var irBuilder = new CymbolIRBuilder();

astRoot.accept(irBuilder);
printIRTree(irBuilder.prog.linearInstrs());
// printIRTree(irBuilder.prog.linearInstrs());

var assembler = new CymbolAssembler();
irBuilder.prog.accept(assembler);
Expand Down

0 comments on commit 808aacf

Please sign in to comment.