summaryrefslogtreecommitdiffstats
path: root/test/800-smali/smali/FloatBadArgReg.smali
blob: 719ba093d5a845a4c26371e397310098f5d4d66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.class public LFloatBadArgReg;

.super Ljava/lang/Object;

.method public static getInt(I)I
    .registers 2
    const/4 v0, 0x0
    if-ne v0, v0, :after
    float-to-int v0, v0
    :exit
    add-int/2addr v0, v1
    return v0
    :after
    move v1, v0
    goto :exit
.end method