Removed unused ignoredLoops method

This commit is contained in:
Jindra Petřík
2025-11-09 21:46:33 +01:00
parent 1c8d9b9e13
commit 6494d7045e
5 changed files with 0 additions and 34 deletions
@@ -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
*