*/
private static boolean isNopped(final AS3Code code) {
assert code != null : "Code fragment must not be null";
final AS3InstructionList instructions = code.getInstructions();
for (int i=0;i<instructions.size() - 2; i++) {
if (!(instructions.get(i) instanceof AS3Nop)) {
return false;
}
}
return true;