mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 16:20:45 +00:00
Removed unused ignoredLoops method
This commit is contained in:
-9
@@ -748,15 +748,6 @@ public class AVM2Instruction implements Cloneable, GraphSourceItem {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the loops are ignored.
|
||||
*
|
||||
* @return True if the loops are ignored, false otherwise
|
||||
*/
|
||||
@Override
|
||||
public boolean ignoredLoops() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether this item is ignored.
|
||||
|
||||
@@ -1433,16 +1433,6 @@ public abstract class Action implements GraphSourceItem {
|
||||
return ti;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the loops are ignored.
|
||||
*
|
||||
* @return True if the loops are ignored, false otherwise
|
||||
*/
|
||||
@Override
|
||||
public boolean ignoredLoops() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets constant pool to actions.
|
||||
*
|
||||
|
||||
@@ -192,9 +192,4 @@ public class ActionIf extends Action {
|
||||
ret.add(after);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean ignoredLoops() {
|
||||
return false; //compileTime;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,9 +180,6 @@ public class GraphPart implements Serializable {
|
||||
continue;
|
||||
}
|
||||
visited.add(thisPart);
|
||||
if (thisPart.end < code.size() && code.get(thisPart.end).isBranch() && (code.get(thisPart.end).ignoredLoops())) {
|
||||
continue;
|
||||
}
|
||||
for (GraphPart p : thisPart.nextParts) {
|
||||
if (p == part) {
|
||||
return true;
|
||||
|
||||
@@ -99,13 +99,6 @@ public interface GraphSourceItem extends Serializable, Cloneable {
|
||||
*/
|
||||
public long getLineOffset();
|
||||
|
||||
/**
|
||||
* Checks whether the loops are ignored. FIXME: What is this, how to use it?
|
||||
*
|
||||
* @return True if the loops are ignored, false otherwise
|
||||
*/
|
||||
public boolean ignoredLoops();
|
||||
|
||||
/**
|
||||
* Gets branches
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user