This commit is contained in:
Vu Tuan Minh
2025-04-08 11:54:05 +02:00
parent b0aa0d98ff
commit b357a16114
4 changed files with 25 additions and 0 deletions

View File

@@ -97,6 +97,14 @@ public class toLLVM_Visitor implements ProgramVisitor<SymTable,ProgramLLVMImpl>
throw new UnsupportedOperationException("Unimplemented method 'visitPrint'");
}
@Override
public ArrayList<InstructionLLVM> visitRead(ReadImp instr, SymTable h) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'visitRead'");
}
//EXPRESSION
@Override
public InstrOrVal visitConst(ConstImp e, SymTable h) {
ValLLVM val = new ValLLVMImpl(new IntLLVMImpl(),e.c());