correction bug prettyprinter

This commit is contained in:
Rochas
2025-04-05 21:29:14 +02:00
parent b9b609f1e2
commit 5e36f25197
2 changed files with 13 additions and 3 deletions

View File

@@ -126,8 +126,17 @@ public class ProgramLLVM {
str.append("add ");
break;
case MINUS:
str.append("minus ");
str.append("sub ");
break;
case TIMES:
str.append("mul ");
break;
case DIV:
str.append("sdiv "); //division signé
break;
case MOD:
str.append("srem "); //modulo signé
default:
throw new AssertionError();
}