Issue #382 AS3: Adding new trait

This commit is contained in:
Jindra Pet��k
2013-09-16 22:51:56 +02:00
parent 4a712230ab
commit dd27bfafe1
18 changed files with 531 additions and 83 deletions
@@ -1069,6 +1069,9 @@ public class AVM2Code implements Serializable {
}
public int fixIPAfterDebugLine(int ip) {
if (code.isEmpty()) {
return ip;
}
if (ip >= code.size()) {
return code.size() - 1;
}