This commit is contained in:
Alexey Andreev 2020-02-10 17:08:25 +03:00
parent 3b1dae4412
commit a414a7979c

View File

@ -42,6 +42,9 @@ public class ClassPatch implements ClassHolderTransformer {
}
private void patchProgram(Program program) {
if (program == null) {
return;
}
for (int i = 0; i < program.basicBlockCount(); ++i) {
BasicBlock block = program.basicBlockAt(i);
for (Instruction instruction : block) {