test/800-smali/smali/move_exc.smali
raw| 1 | .class public LMoveExc; |
| 2 | .super Ljava/lang/Object; |
| 3 | |
| 4 | |
| 5 | .method public constructor <init>()V |
| 6 | .registers 1 |
| 7 | invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
| 8 | return-void |
| 9 | .end method |
| 10 | |
| 11 | .method public static run()V |
| 12 | .registers 6 |
| 13 | :Label1 |
| 14 | const v1, 15 |
| 15 | const v2, 0 |
| 16 | div-int v0, v1, v2 |
| 17 | |
| 18 | :Label2 |
| 19 | goto :Label4 |
| 20 | |
| 21 | :Label3 |
| 22 | move-exception v3 |
| 23 | throw v3 |
| 24 | |
| 25 | :Label4 |
| 26 | return-void |
| 27 | |
| 28 | .catchall {:Label1 .. :Label2} :Label3 |
| 29 | .end method |