1 ; 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_invoke_virtual_range_2.java 16 .class public dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_2 17 .super java/lang/Object 18 19 20 .method public <init>()V 21 .limit regs 2 22 23 invoke-direct {v1}, java/lang/Object/<init>()V 24 return-void 25 .end method 26 27 .method public test(IIIIIIIIII)I 28 .limit regs 11 29 const v0, 10 30 if-ne v0, v10, Label0 31 const v0, 9 32 if-ne v0, v9, Label0 33 const v0, 8 34 if-ne v0, v8, Label0 35 const v0, 7 36 if-ne v0, v7, Label0 37 const v0, 6 38 if-ne v0, v6, Label0 39 const v0, 5 40 if-ne v0, v5, Label0 41 const v0, 4 42 if-ne v0, v4, Label0 43 const v0, 3 44 if-ne v0, v3, Label0 45 const v0, 2 46 if-ne v0, v2, Label0 47 const v0, 1 48 if-ne v0, v1, Label0 49 50 const v0, 1 51 return v0 52 Label0: 53 const v0, 0 54 return v0 55 56 .end method 57 58 .method public run()I 59 .limit regs 16 60 move-object v0, v15 61 const v1, 1 62 const v2, 2 63 const v3, 3 64 const v4, 4 65 const v5, 5 66 const v6, 6 67 const v7, 7 68 const v8, 8 69 const v9, 9 70 const v10, 10 71 72 invoke-virtual/range {v0..v10}, dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_2/test(IIIIIIIIII)I 73 move-result v0 74 return v0 75 .end method 76 77 78