mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 03:30:51 +00:00
format code
This commit is contained in:
@@ -572,7 +572,7 @@ public class ABC {
|
||||
System.out.println(""+t.toString());
|
||||
}
|
||||
System.exit(0);*/
|
||||
|
||||
|
||||
SWFDecompilerPlugin.fireAbcParsed(this, swf);
|
||||
}
|
||||
|
||||
@@ -1178,7 +1178,7 @@ public class ABC {
|
||||
pack(); //removes old classes/methods
|
||||
((Tag) parentTag).setModified(true);
|
||||
}
|
||||
|
||||
|
||||
public void pack() {
|
||||
for (int c = 0; c < instance_info.size(); c++) {
|
||||
if (instance_info.get(c).deleted) {
|
||||
|
||||
@@ -854,7 +854,7 @@ public class AVM2Code implements Cloneable {
|
||||
ais.endDumpLevelUntil(diParent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
code.addAll(codeMap.values());
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ public class AVM2Instruction implements Cloneable, GraphSourceItem {
|
||||
public String toString() {
|
||||
StringBuilder s = new StringBuilder();
|
||||
s.append(definition.instructionName);
|
||||
if (operands != null) {
|
||||
if (operands != null) {
|
||||
for (int i = 0; i < operands.length; i++) {
|
||||
s.append(" ");
|
||||
s.append(operands[i]);
|
||||
|
||||
+1
-1
@@ -1619,7 +1619,7 @@ public class AVM2SourceGenerator implements SourceGenerator {
|
||||
|
||||
mbody.method_info = abc.addMethodInfo(mi);
|
||||
mi.setBody(mbody);
|
||||
List<AVM2Instruction> mbodyCode = toInsList(src);
|
||||
List<AVM2Instruction> mbodyCode = toInsList(src);
|
||||
mbody.setCode(new AVM2Code());
|
||||
mbody.getCode().code = mbodyCode;
|
||||
|
||||
|
||||
-1
@@ -101,7 +101,6 @@ public abstract class AssignableAVM2Item extends AVM2Item {
|
||||
ret.add(ins(new KillIns(), register.getVal()));
|
||||
return ret;
|
||||
}*/
|
||||
|
||||
public static List<GraphSourceItem> killTemp(SourceGeneratorLocalData localData, SourceGenerator generator, List<Reference<Integer>> registers) {
|
||||
List<GraphSourceItem> ret = new ArrayList<>();
|
||||
for (Reference<Integer> register : registers) {
|
||||
|
||||
+2
-1
@@ -758,7 +758,8 @@ public final class MethodInfoLexer {
|
||||
*
|
||||
* @return the next token
|
||||
* @exception java.io.IOException if any I/O-Error occurs
|
||||
* @throws com.jpexs.decompiler.flash.abc.methodinfo_parser.MethodInfoParseException
|
||||
* @throws
|
||||
* com.jpexs.decompiler.flash.abc.methodinfo_parser.MethodInfoParseException
|
||||
*/
|
||||
public ParsedSymbol yylex() throws java.io.IOException, MethodInfoParseException {
|
||||
int zzInput;
|
||||
|
||||
@@ -76,11 +76,11 @@ public class MethodBody implements Cloneable {
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
|
||||
public void setCode(AVM2Code code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
|
||||
public List<Integer> getExceptionEntries() {
|
||||
List<Integer> ret = new ArrayList<>();
|
||||
for (ABCException e : exceptions) {
|
||||
|
||||
Reference in New Issue
Block a user