Fix NEW StackMetadata

bzip2
Graham 5 years ago
parent a0d6a48922
commit 713009470f
  1. 2
      asm/src/main/java/dev/openrs2/asm/StackMetadata.kt

@ -168,7 +168,7 @@ private val SIMPLE_OPCODES = mapOf(
Opcodes.DRETURN to POP2, Opcodes.DRETURN to POP2,
Opcodes.ARETURN to POP1, Opcodes.ARETURN to POP1,
Opcodes.RETURN to NONE, Opcodes.RETURN to NONE,
Opcodes.NEW to POP1, Opcodes.NEW to PUSH1,
Opcodes.NEWARRAY to POP1_PUSH1, Opcodes.NEWARRAY to POP1_PUSH1,
Opcodes.ANEWARRAY to POP1_PUSH1, Opcodes.ANEWARRAY to POP1_PUSH1,
Opcodes.ARRAYLENGTH to POP1_PUSH1, Opcodes.ARRAYLENGTH to POP1_PUSH1,

Loading…
Cancel
Save