Add failing test, I think this should be passing
This commit is contained in:
@@ -13,10 +13,15 @@ import net.runelite.deob.attributes.code.instruction.types.DupInstruction;
|
||||
|
||||
public class Dup2_X1 extends Instruction implements DupInstruction
|
||||
{
|
||||
public Dup2_X1(Instructions instructions, InstructionType type, int pc) throws IOException
|
||||
public Dup2_X1(Instructions instructions, InstructionType type, int pc)
|
||||
{
|
||||
super(instructions, type, pc);
|
||||
}
|
||||
|
||||
public Dup2_X1(Instructions instructions)
|
||||
{
|
||||
super(instructions, InstructionType.DUP2_X1, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(Frame frame)
|
||||
|
||||
@@ -14,10 +14,15 @@ import java.io.IOException;
|
||||
|
||||
public class LConst_1 extends Instruction implements PushConstantInstruction
|
||||
{
|
||||
public LConst_1(Instructions instructions, InstructionType type, int pc) throws IOException
|
||||
public LConst_1(Instructions instructions, InstructionType type, int pc)
|
||||
{
|
||||
super(instructions, type, pc);
|
||||
}
|
||||
|
||||
public LConst_1(Instructions instructions)
|
||||
{
|
||||
super(instructions, InstructionType.LCONST_1, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(Frame frame)
|
||||
|
||||
@@ -83,4 +83,9 @@ public class LDC2_W extends Instruction implements PushConstantInstruction
|
||||
value = entry;
|
||||
return this;
|
||||
}
|
||||
|
||||
public long getConstantAsLong()
|
||||
{
|
||||
return (long) value.getObject();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,10 +16,15 @@ import java.io.IOException;
|
||||
|
||||
public class LStore_0 extends Instruction implements LVTInstruction
|
||||
{
|
||||
public LStore_0(Instructions instructions, InstructionType type, int pc) throws IOException
|
||||
public LStore_0(Instructions instructions, InstructionType type, int pc)
|
||||
{
|
||||
super(instructions, type, pc);
|
||||
}
|
||||
|
||||
public LStore_0(Instructions instructions)
|
||||
{
|
||||
super(instructions, InstructionType.LSTORE_0, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(Frame frame)
|
||||
|
||||
Reference in New Issue
Block a user