File tree 1 file changed +11
-11
lines changed
src/main/java/compiler/hardcoded/compiler/instruction
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -50,17 +50,17 @@ public IRProgram generate(IRProgram program) {
50
50
for (IRFunction func : program .getFunctions ()) {
51
51
simplify (func );
52
52
53
- System .out .println ("\n " + func );
54
- for (int i = 0 , line = 0 ; i < func .length (); i ++) {
55
- IRInstruction inst = func .list .get (i );
56
-
57
- if (inst .op == IRType .label ) {
58
- System .out .printf ("\n %4d: %s\n " , line , inst );
59
- } else {
60
- System .out .printf ("%4d: %s\n " , line , inst );
61
- line ++;
62
- }
63
- }
53
+ // System.out.println("\n" + func);
54
+ // for(int i = 0, line = 0; i < func.length(); i++) {
55
+ // IRInstruction inst = func.list.get(i);
56
+ //
57
+ // if(inst.op == IRType.label) {
58
+ // System.out.printf("\n%4d: %s\n", line, inst);
59
+ // } else {
60
+ // System.out.printf("%4d: %s\n", line, inst);
61
+ // line++;
62
+ // }
63
+ // }
64
64
}
65
65
66
66
// try {
You can’t perform that action at this time.
0 commit comments