Home | History | Annotate | Download | only in smali
      1 # Test that the verifier does not stash methods incorrectly because they are being invoked with
      2 # the wrong opcode. See b_21869691A.smali for explanation.
      3 
      4 .class public abstract LB21869691B;
      5 
      6 .super Ljava/lang/Object;
      7 .implements LB21869691I;
      8 
      9 .method protected constructor <init>()V
     10     .registers 1
     11     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
     12     return-void
     13 .end method
     14 
     15 # Have an implementation for the interface method.
     16 .method public a()V
     17   .registers 1
     18   return-void
     19 .end method
     20 
     21 # Call ourself with invoke-virtual.
     22 .method public callB()V
     23   .registers 1
     24   invoke-virtual {p0}, LB21869691B;->a()V
     25   return-void
     26 .end method
     27 
     28 # Call C with invoke-virtual.
     29 .method public callB(LB21869691C;)V
     30   .registers 2
     31   invoke-virtual {p1}, LB21869691C;->a()V
     32   return-void
     33 .end method
     34