From 135a2891d174c811a2c82978a302f78e55ae85dc Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 12 Oct 2019 12:00:40 +0100 Subject: [PATCH] Reduce MAX_TRACKED_VALUES to 1 --- .../main/java/dev/openrs2/deob/analysis/IntInterpreter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.java b/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.java index 3d29d2ed..19202791 100644 --- a/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.java +++ b/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; public final class IntInterpreter extends Interpreter { - // TODO(gpe): this is fairly arbitrary and will need tweaking - private static final int MAX_TRACKED_VALUES = 8; + private static final int MAX_TRACKED_VALUES = 1; private final Interpreter basicInterpreter = new BasicInterpreter(); private final ImmutableSet[] parameters;