@ -205,8 +205,8 @@ fun AbstractInsnNode.stackMetadata(): StackMetadata = when (this) {
val argumentsAndReturnSizes = Type.getArgumentsAndReturnSizes(desc)
val pushes = argumentsAndReturnSizes and 0x3
var pops = argumentsAndReturnSizes shr 2
if (opcode != Opcodes.INVOKESTATIC) {
pops++
if (opcode == Opcodes.INVOKESTATIC) {
pops--
}
StackMetadata(pops, pushes)
@ -179,7 +179,7 @@ class DummyArgTransformer : Transformer() {
var callerSlots = Type.getArgumentsAndReturnSizes(method.desc) shr 2
if (method.access and Opcodes.ACC_STATIC != 0) {
callerSlots++
callerSlots--
if (load.`var` >= callerSlots) {
continue