Commit 5572da1d authored by Yudi Zheng's avatar Yudi Zheng

bugfix: AfterInitBodyMarker now handles empty constructors correctly

parent 7a3ff2d0
......@@ -34,7 +34,7 @@ public class AfterInitBodyMarker extends AbstractMarker {
//
for (final AbstractInsnNode insn : Insns.selectAll (method.instructions)) {
if (AsmHelper.isReturn (insn)) {
region.addEnd (insn.getPrevious ());
region.addEnd (insn);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment