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.
53 lines
766 B
53 lines
766 B
4 months ago
|
.class public LPackedSwitch;
|
||
|
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
.method public static packedSwitch(I)I
|
||
|
.registers 2
|
||
|
|
||
|
const/4 v0, 0
|
||
|
packed-switch v0, :switch_data
|
||
|
goto :default
|
||
|
|
||
|
:switch_data
|
||
|
.packed-switch 0x0
|
||
|
:case
|
||
|
.end packed-switch
|
||
|
|
||
|
:return
|
||
|
return v1
|
||
|
|
||
|
:default
|
||
|
goto :return
|
||
|
|
||
|
:case
|
||
|
goto :return
|
||
|
|
||
|
.end method
|
||
|
|
||
|
.method public static packedSwitch_INT_MAX(I)I
|
||
|
.registers 2
|
||
|
|
||
|
const/4 v0, 0
|
||
|
packed-switch v0, :switch_data
|
||
|
goto :default
|
||
|
|
||
|
:switch_data
|
||
|
.packed-switch 0x7FFFFFFE
|
||
|
:case1 # key = INT_MAX - 1
|
||
|
:case2 # key = INT_MAX
|
||
|
.end packed-switch
|
||
|
|
||
|
:return
|
||
|
return v1
|
||
|
|
||
|
:default
|
||
|
goto :return
|
||
|
|
||
|
:case1
|
||
|
goto :return
|
||
|
:case2
|
||
|
goto :return
|
||
|
|
||
|
.end method
|