AsmLikeInstructionListingTest: Handle remaining instructions

Adds argument printing for TypeInsnNode, IincInsnNode,
MultiANewArrayInsnNode, InvokeDynamicInsnNode,
TableSwitchInsnNode, and LookupSwitchInsnNode.
This commit is contained in:
Steven Schäfer
2021-10-11 13:45:32 +02:00
committed by Alexander Udalov
parent 7ec9d608cc
commit ca74b7becc
42 changed files with 416 additions and 351 deletions
@@ -6,13 +6,13 @@ public final class test/Foo$Creator : java/lang/Object, android/os/Parcelable$Cr
ALOAD (1)
LDC (in)
INVOKESTATIC (kotlin/jvm/internal/Intrinsics, checkNotNullParameter, (Ljava/lang/Object;Ljava/lang/String;)V)
NEW
NEW (test/Foo)
DUP
ALOAD (1)
LDC (Ltest/Foo;)
INVOKEVIRTUAL (java/lang/Class, getClassLoader, ()Ljava/lang/ClassLoader;)
INVOKEVIRTUAL (android/os/Parcel, readParcelable, (Ljava/lang/ClassLoader;)Landroid/os/Parcelable;)
CHECKCAST
CHECKCAST (android/accounts/Account)
INVOKESPECIAL (test/Foo, <init>, (Landroid/accounts/Account;)V)
ARETURN
LABEL (L1)
@@ -38,7 +38,7 @@ public final class test/Foo : java/lang/Object, android/os/Parcelable {
private final android.accounts.Account kp
static void <clinit>() {
NEW
NEW (test/Foo$Creator)
DUP
INVOKESPECIAL (test/Foo$Creator, <init>, ()V)
PUTSTATIC (test/Foo, CREATOR, Landroid/os/Parcelable$Creator;)