Skip to content

Commit eebc8d9

Browse files
committed
hotfix ollir cpf of
1 parent 1ea684f commit eebc8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/pt/up/fe/comp2023/ollir/Optimization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private Void dealWithComparison(JmmNode jmmNode, Void unused) {
298298
temp = "t" + tempVarId++ + ".bool";
299299

300300
code += temp + ":=.bool " + left + " " + jmmNode.get("op") + ".bool " + right;
301-
if (condition.isEmpty() || cycle.isEmpty())
301+
//if (condition.isEmpty() || cycle.isEmpty())
302302
code += ";\n";
303303
jmmNode.put("valueOl", temp);
304304

0 commit comments

Comments
 (0)