- Removed TODO

This commit is contained in:
Flight_Control 2023-04-18 08:02:39 +02:00
parent 663a439c34
commit 23903b34c6
1 changed files with 0 additions and 8 deletions

View File

@ -961,14 +961,6 @@ public class Pass4CodeGeneration {
}
}
} else if (statement instanceof StatementCallExecute) {
// TODO: This part seems never to be executed! Old code?
// StatementCallExecute call = (StatementCallExecute) statement;
// RValue procedureRVal = call.getProcedureRVal();
// // Generate ASM for a call
// AsmFragmentCodeGenerator.generateAsm(asm, AsmFragmentInstanceSpecBuilder.call(call, indirectCallCount++, program), program);
// if (!(procedureRVal instanceof ProcedureRef)) {
// asm.getCurrentChunk().setClobberOverwrite(CpuClobber.CLOBBER_ALL);
// }
StatementCallExecute call = (StatementCallExecute) statement;
ProcedureRef procedureRef = call.getProcedure();
if(procedureRef != null) {