Coroutine transformation: minor improvements

This commit is contained in:
Alexey Andreev 2023-08-28 14:10:34 +02:00
parent bd2d2cb49b
commit 40c4f03e3b

View File

@ -105,6 +105,7 @@ public class CoroutineTransformation {
for (BasicBlock block : program.getBasicBlocks()) {
if (hasSplitInstructions(block)) {
hasJob = true;
break;
}
}
if (!hasJob) {
@ -124,7 +125,6 @@ public class CoroutineTransformation {
}
splitter.fixProgram();
processIrreducibleCfg();
new PhiUpdater().updatePhis(program, methodReference.parameterCount() + 1);
}
private void createSplitPrologue() {