You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
553 B
31 lines
553 B
.class public LMoveExceptionOnEntry;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
# Test that we cannot have a catch-handler with move-exception at the beginning of a method.
|
|
|
|
.method public static moveExceptionOnEntry(I)I
|
|
.registers 4
|
|
:Label1
|
|
move-exception v2
|
|
const v1, 100
|
|
move v0, p0
|
|
add-int/lit8 p0, p0, 1
|
|
|
|
:Label2
|
|
invoke-static {v0}, LMoveExceptionOnEntry;->foo(I)V
|
|
|
|
:Label3
|
|
return v1
|
|
|
|
.catchall {:Label2 .. :Label3} :Label1
|
|
.end method
|
|
|
|
.method public static foo(I)I
|
|
.registers 4
|
|
:Label1
|
|
return-void
|
|
|
|
.end method
|
|
|