better AS1/2 parser - constantpool

This commit is contained in:
Jindra Petk
2013-04-14 15:32:02 +02:00
parent 9c2e970e65
commit aff763637b
13 changed files with 1973 additions and 1803 deletions

View File

@@ -315,7 +315,7 @@ public class ActionGraph extends Graph {
@Override
protected int checkIp(int ip) {
int oldIp=ip;
int oldIp = ip;
//return in for..in
GraphSourceItem action = code.get(ip);
if ((action instanceof ActionPush) && (((ActionPush) action).values.size() == 1) && (((ActionPush) action).values.get(0) instanceof Null)) {
@@ -332,7 +332,7 @@ public class ActionGraph extends Graph {
}
}
}
if(oldIp!=ip){
if (oldIp != ip) {
return checkIp(ip);
}
return ip;