blob: e7da2e3d497d916f3b995738a4b6a887af9fdf1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
.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
|