correction nom variable
This commit is contained in:
@@ -340,7 +340,9 @@ public class toLLVM_Visitor implements ProgramVisitor<SymTable,ProgramLLVMImp>,
|
||||
String labelWhile = "while"+h.getNewIdLabel();
|
||||
String labelDo = "do"+h.getNewIdLabel();
|
||||
String labelDone = "done"+h.getNewIdLabel();
|
||||
|
||||
l.add(new BrLLVMImp(labelWhile));
|
||||
|
||||
l.add(new LabelLLVMImp(labelWhile));
|
||||
InstrAndVal temp = instr.e().accept(this,h); //retourne les instructionz pour obtenir le résultat de l'expression ainsi que la variable contenant le résultat final
|
||||
l.addAll(temp.instrs); //instructions
|
||||
|
||||
Binary file not shown.
BIN
tests/fragment1/while2
Executable file
BIN
tests/fragment1/while2
Executable file
Binary file not shown.
BIN
tests/testsAdvanced/carre
Executable file
BIN
tests/testsAdvanced/carre
Executable file
Binary file not shown.
BIN
tests/testsAdvanced/diverge
Executable file
BIN
tests/testsAdvanced/diverge
Executable file
Binary file not shown.
BIN
tests/testsAdvanced/divergeDifficile
Executable file
BIN
tests/testsAdvanced/divergeDifficile
Executable file
Binary file not shown.
Reference in New Issue
Block a user