Skip to content

Commit

Permalink
fix: resolve error in SkipMethodArgsAttr if method not yet loaded (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed May 4, 2020
1 parent 2207cd7 commit 8785232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static boolean isSkip(@Nullable MethodNode mth, int argNum) {
private final BitSet skipArgs;

private SkipMethodArgsAttr(MethodNode mth) {
this.skipArgs = new BitSet(mth.getArgRegs().size());
this.skipArgs = new BitSet(mth.getMethodInfo().getArgsCount());
}

public void skip(int argNum) {
Expand Down

0 comments on commit 8785232

Please sign in to comment.