Skip line numbers that couldn't be mapped by SourceMappers

This commit is contained in:
Michael Bogdanov
2016-04-21 14:39:07 +03:00
parent 021c88e5ff
commit d945c47b63
@@ -91,7 +91,10 @@ public class InlineAdapter extends InstructionAdapter {
if (InlineCodegenUtil.GENERATE_SMAP) { if (InlineCodegenUtil.GENERATE_SMAP) {
line = sourceMapper.mapLineNumber(line); line = sourceMapper.mapLineNumber(line);
} }
super.visitLineNumber(line, start); //skip not mapped lines
if (line >= 0) {
super.visitLineNumber(line, start);
}
} }
@Override @Override