Not really, when ASM finds unreachable code while building the stack map it turns it into NOPs. That's because unreachable code needs stack map entries but ordinary instructions can't be typed since the incoming type state is undetermined. So ASM NOPs them which is easy to type.