blob: d1d2d03d74f30d43d6a846c4639b3f64892453cf [file] [log] [blame]
Tsu Chiang Chuang9a223d72011-04-27 17:19:46 -07001; Copyright (C) 2008 The Android Open Source Project
2;
3; Licensed under the Apache License, Version 2.0 (the "License");
4; you may not use this file except in compliance with the License.
5; You may obtain a copy of the License at
6;
7; http://www.apache.org/licenses/LICENSE-2.0
8;
9; Unless required by applicable law or agreed to in writing, software
10; distributed under the License is distributed on an "AS IS" BASIS,
11; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12; See the License for the specific language governing permissions and
13; limitations under the License.
14
15.source T_packed_switch_11.java
16.class public dot.junit.opcodes.packed_switch.d.T_packed_switch_11
17.super java/lang/Object
18
19
20.method public <init>()V
21.limit regs 1
22
23 invoke-direct {v0}, java/lang/Object/<init>()V
24 return-void
25.end method
26
27.method public run(I)I
28.limit regs 5
29 packed-switch v4, -1
30 Label9 ; -1
31 Label6 ; 0
32 Label6 ; 1
33 Label12 ; 2
34 Label12 ; 3
35 packed-switch-end
36Label6:
37 const/4 v2, -1
38 return v2
39Label9:
40 const/4 v2, 2
41 return v2
42Label12:
43 const/16 v2, 20
44 return v2
45
46.end method