Method context was actually important because its copied between frames
This commit is contained in:
@@ -37,9 +37,6 @@ public class Frame
|
|||||||
|
|
||||||
stack = new Stack(code.getMaxStack());
|
stack = new Stack(code.getMaxStack());
|
||||||
variables = new Variables(code.getMaxLocals());
|
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);
|
ctx = new MethodContext(execution);
|
||||||
nonStatic = method;
|
nonStatic = method;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package net.runelite.asm.execution;
|
package net.runelite.asm.execution;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
|
||||||
import net.runelite.asm.attributes.code.Instruction;
|
import net.runelite.asm.attributes.code.Instruction;
|
||||||
import org.apache.commons.collections4.map.MultiValueMap;
|
import org.apache.commons.collections4.map.MultiValueMap;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user