Reduce MAX_TRACKED_VALUES to 1

master
Graham 5 years ago
parent 8eac1c1ce3
commit 135a2891d1
  1. 3
      deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.java

@ -16,8 +16,7 @@ import org.objectweb.asm.tree.analysis.BasicValue;
import org.objectweb.asm.tree.analysis.Interpreter; import org.objectweb.asm.tree.analysis.Interpreter;
public final class IntInterpreter extends Interpreter<IntValue> { public final class IntInterpreter extends Interpreter<IntValue> {
// TODO(gpe): this is fairly arbitrary and will need tweaking private static final int MAX_TRACKED_VALUES = 1;
private static final int MAX_TRACKED_VALUES = 8;
private final Interpreter<BasicValue> basicInterpreter = new BasicInterpreter(); private final Interpreter<BasicValue> basicInterpreter = new BasicInterpreter();
private final ImmutableSet<Integer>[] parameters; private final ImmutableSet<Integer>[] parameters;

Loading…
Cancel
Save