mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Coroutine transformation: minor improvements
This commit is contained in:
parent
bd2d2cb49b
commit
40c4f03e3b
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user