Home | History | Annotate | Download | only in smali
      1 .class public LB22331663Pass;
      2 .super Ljava/lang/Object;
      3 
      4 
      5 .method public static run(Z)V
      6 .registers 6
      7        if-eqz v5, :Label1
      8 
      9        # Construct a java.lang.Object completely. This makes v4 of reference type.
     10        new-instance v4, Ljava/lang/Object;
     11        invoke-direct {v4}, Ljava/lang/Object;-><init>()V
     12 
     13 :Label1
     14        # At this point, v4 is the merge of Undefined and ReferenceType. The verifier should not
     15        # reject this if it is unused.
     16 
     17        # Do an allocation here. This will force heap checking in gcstress mode.
     18        new-instance v0, Ljava/lang/Object;
     19        invoke-direct {v0}, Ljava/lang/Object;-><init>()V
     20 
     21        return-void
     22 .end method
     23