Skip to content

Commit

Permalink
Version 1.0.2, support ARRAYLENGTH instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
DenWav committed Jun 16, 2021
1 parent 2238289 commit 079da66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group = dev.denwav.hypo
version = 1.1.0-SNAPSHOT
version = 1.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ private void hydrate0(final @NotNull AsmConstructorData data) throws IOException
final FieldAccess fieldAccess = new FieldAccess(superCall.args.removeLast());
superCall.args.addLast(fieldAccess);
continue;
case Opcodes.ARRAYLENGTH:
superCall.args.removeLast();
superCall.args.addLast(Constant.INSTANCE);
continue;
case Opcodes.IF_ICMPEQ:
case Opcodes.IF_ICMPNE:
case Opcodes.IF_ICMPLT:
Expand Down

0 comments on commit 079da66

Please sign in to comment.