1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-26 03:32:23 +00:00

- Removed TODO

This commit is contained in:
Flight_Control 2023-04-18 08:02:39 +02:00
parent 663a439c34
commit 23903b34c6

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) {