Method context was actually important because its copied between frames

This commit is contained in:
Adam
2016-04-03 12:40:01 -04:00
parent 7eb1c0d32a
commit e9ee78a48d
2 changed files with 0 additions and 5 deletions

View File

@@ -37,9 +37,6 @@ public class Frame
stack = new Stack(code.getMaxStack());
variables = new Variables(code.getMaxLocals());
// don't cache method contexts per execution
// need to allow the same method to execute multiple times
// when called from multiple places to allow graph building //XXX there no longer is a graph
ctx = new MethodContext(execution);
nonStatic = method;
}

View File

@@ -1,8 +1,6 @@
package net.runelite.asm.execution;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import net.runelite.asm.attributes.code.Instruction;
import org.apache.commons.collections4.map.MultiValueMap;