Fix bug with source maps generator

This commit is contained in:
Alexey Andreev 2015-01-20 18:45:20 +04:00
parent 525fd89374
commit 8950121d01
2 changed files with 6 additions and 2 deletions

View File

@ -33,7 +33,9 @@ public class ExactMethodIterator {
ExactMethodIterator(DebugInformation debugInformation) { ExactMethodIterator(DebugInformation debugInformation) {
this.debugInformation = debugInformation; this.debugInformation = debugInformation;
read(); if (!isEndReached()) {
read();
}
} }
public boolean isEndReached() { public boolean isEndReached() {

View File

@ -31,7 +31,9 @@ public class SourceLocationIterator {
SourceLocationIterator(DebugInformation debugInformation) { SourceLocationIterator(DebugInformation debugInformation) {
this.debugInformation = debugInformation; this.debugInformation = debugInformation;
read(); if (!isEndReached()) {
read();
}
} }
public boolean isEndReached() { public boolean isEndReached() {