mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-26 18:29:54 +00:00
- Removed TODO
This commit is contained in:
parent
663a439c34
commit
23903b34c6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user