preserve holes in instruction array when transcribing method summary
otherwise the iindex fields in the ssa instructions are inconsistent with their index in the instruction array
This commit is contained in:
parent
7e3fb18fc0
commit
1acbf4b9f7
|
@ -295,6 +295,7 @@ public class VolatileMethodSummary {
|
|||
|
||||
if ((inst == null) || (inst == RESERVED)) {
|
||||
if (DEBUG) { System.err.printf("No instruction at iindex {}", i); }
|
||||
this.summary.addStatement(null);
|
||||
} else {
|
||||
if (DEBUG) { System.err.printf("Adding @{}: ", inst); }
|
||||
this.summary.addStatement(inst);
|
||||
|
|
Loading…
Reference in New Issue