From a0a0d1e64594db9c1eaac767f0e1283f7d8247c3 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 12 Dec 2015 19:33:58 -0500 Subject: [PATCH] Remove old frame stuff --- .../java/net/runelite/deob/execution/Frame.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/java/net/runelite/deob/execution/Frame.java b/src/main/java/net/runelite/deob/execution/Frame.java index bdb8de836b..8f14df1095 100644 --- a/src/main/java/net/runelite/deob/execution/Frame.java +++ b/src/main/java/net/runelite/deob/execution/Frame.java @@ -177,21 +177,6 @@ public class Frame { Instruction oldCur = cur; - if ((cur instanceof ReturnInstruction || cur instanceof AThrow) && this.staticReturn != null) - { - Frame newFrame = this.staticReturn.dup(); - newFrame.lastField = this.lastField; - newFrame.executing = true; - - assert newFrame.cur instanceof InvokeStatic; - int i = newFrame.method.getCode().getInstructions().getInstructions().indexOf(newFrame.cur); - assert i != -1; - newFrame.cur = newFrame.method.getCode().getInstructions().getInstructions().get(i + 1); - - assert execution.frames.contains(newFrame); - //this.execution.frames.add(newFrame); - } - try { cur.execute(this);