Skip to content

Commit

Permalink
perf: 删除冗余
Browse files Browse the repository at this point in the history
  • Loading branch information
0XPYEX0 committed Aug 9, 2024
1 parent 2e0aba1 commit 889aaea
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ public MethodVisitor visitMethod(int access, String name, String descriptor, Str
return new MethodVisitor(Opcodes.ASM9, visitor) { //删除该方法内第一行代码 string.length() 的检查
private boolean gotCheckArgument = false;

@Override
public void visitCode() {
super.visitCode();
}

@Override
public void visitMethodInsn(int opcode, String owner, String name, String descriptor, boolean isInterface) {
if (Opcodes.INVOKESTATIC == opcode && "checkArgument".equals(name)) { //走到checkArgument时
Expand Down

0 comments on commit 889aaea

Please sign in to comment.