mirror of
https://github.com/zaaarf/lillero.git
synced 2024-12-22 12:54:54 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
81eb9b17b7
1 changed files with 4 additions and 4 deletions
|
@ -85,13 +85,13 @@ public class PatternMatcher {
|
|||
if(ignoreLabels && cur.getType() == AbstractInsnNode.LABEL) continue;
|
||||
if(ignoreFrames && cur.getType() == AbstractInsnNode.FRAME) continue;
|
||||
if(ignoreLineNumbers && cur.getType() == AbstractInsnNode.LINE) continue;
|
||||
if(predicates.get(match).test(cur)) {
|
||||
if(match == predicates.size()) {
|
||||
last = cur.getPrevious(); //it was actually the preiovus run in this case
|
||||
break;
|
||||
} else if (predicates.get(match).test(cur)) {
|
||||
match++;
|
||||
if(first == null)
|
||||
first = cur;
|
||||
} else if(match == predicates.size()) {
|
||||
last = cur.getPrevious(); //it was actually the preiovus run in this case
|
||||
break;
|
||||
} else break;
|
||||
}
|
||||
if(first != null && last != null) {
|
||||
|
|
Loading…
Reference in a new issue