Skip to content

Commit

Permalink
Use correct method visitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Jun 2, 2020
1 parent 3bca4ce commit 337e9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byte-buddy-dep/src/main/java/net/bytebuddy/asm/Advice.java
Original file line number Diff line number Diff line change
Expand Up @@ -8718,7 +8718,7 @@ public void visitEnd() {
}
methodSizeHandler.recordMaxima(postProcessor
.resolve(instrumentedType, instrumentedMethod, assigner, argumentHandler)
.apply(mv, implementationContext).getMaximalSize(), EMPTY);
.apply(methodVisitor, implementationContext).getMaximalSize(), EMPTY);
methodSizeHandler.requireStackSize(relocationHandler.apply(methodVisitor, exit ? argumentHandler.exit() : argumentHandler.enter()));
stackMapFrameHandler.injectCompletionFrame(methodVisitor);
}
Expand Down

0 comments on commit 337e9eb

Please sign in to comment.