From 713009470ff6be977eac24ada6a3d343801ebc07 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 15 Feb 2020 16:54:11 +0000 Subject: [PATCH] Fix NEW StackMetadata --- asm/src/main/java/dev/openrs2/asm/StackMetadata.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/src/main/java/dev/openrs2/asm/StackMetadata.kt b/asm/src/main/java/dev/openrs2/asm/StackMetadata.kt index 6ba8d43130..dcc622665e 100644 --- a/asm/src/main/java/dev/openrs2/asm/StackMetadata.kt +++ b/asm/src/main/java/dev/openrs2/asm/StackMetadata.kt @@ -168,7 +168,7 @@ private val SIMPLE_OPCODES = mapOf( Opcodes.DRETURN to POP2, Opcodes.ARETURN to POP1, Opcodes.RETURN to NONE, - Opcodes.NEW to POP1, + Opcodes.NEW to PUSH1, Opcodes.NEWARRAY to POP1_PUSH1, Opcodes.ANEWARRAY to POP1_PUSH1, Opcodes.ARRAYLENGTH to POP1_PUSH1,