correction bug dans Declaration
This commit is contained in:
@@ -117,7 +117,7 @@ public class toLLVM_Visitor implements ProgramVisitor<SymTable,ProgramLLVMImp>,
|
||||
r = h.addVar(nom, arrayType);
|
||||
}
|
||||
h = r.symTable;
|
||||
list.add(new AssignLLVMImp(new VarLLVMImp(t2, nom,false),new allocaLLVMImp(t2)));
|
||||
list.add(new AssignLLVMImp(new VarLLVMImp(t2, r.var,false),new allocaLLVMImp(t2)));
|
||||
}
|
||||
return new InstrAndSymTable(list,h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user