JS: fix source map generation in some cases
@@ -26,8 +26,10 @@ class LayerIterator {
methodIterators[i] = new MethodIterator(debugInformation.layers[i]);
}
+ if (!isEndReached()) {
nextImpl();
}
+ }
public boolean isEndReached() {
return currentLayer == 0 && methodIterators[currentLayer].isEndReached();
