Skip to content

Commit

Permalink
Merge pull request #30 from saeg/update/asm9.7
Browse files Browse the repository at this point in the history
Update ASM (9.5 -> 9.7)
  • Loading branch information
andrioli authored Apr 9, 2024
2 parents 1159069 + cc595ce commit 5464770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
<version>9.5</version>
<version>9.7</version>
</dependency>
<dependency>
<groupId>br.usp.each.saeg</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/br/usp/each/saeg/asm/defuse/DefUseFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public void execute(final AbstractInsnNode insn, final Interpreter<Value> interp
case Opcodes.INVOKEINTERFACE: {
values = new ArrayList<Value>();
final String desc = ((MethodInsnNode) insn).desc;
for (int i = Type.getArgumentTypes(desc).length; i > 0; --i) {
for (int i = Type.getArgumentCount(desc); i > 0; --i) {
values.add(0, pop());
}
if (insn.getOpcode() != Opcodes.INVOKESTATIC) {
Expand All @@ -342,7 +342,7 @@ public void execute(final AbstractInsnNode insn, final Interpreter<Value> interp
case Opcodes.INVOKEDYNAMIC: {
values = new ArrayList<Value>();
final String desc = ((InvokeDynamicInsnNode) insn).desc;
for (int i = Type.getArgumentTypes(desc).length; i > 0; --i) {
for (int i = Type.getArgumentCount(desc); i > 0; --i) {
values.add(0, pop());
}
if (Type.getReturnType(desc) == Type.VOID_TYPE) {
Expand Down

0 comments on commit 5464770

Please sign in to comment.