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 .class blort 16 .super java/lang/Object 17 18 .method public static test1(ZBCSI[I)V 19 .limit locals 6 20 .limit stack 3 21 22 iload_0 23 iload_1 24 if_icmpeq zorch 25 26 iload_2 27 iload_3 28 if_icmpne zorch 29 30 iload 4 31 aload 5 32 iconst_0 33 iaload 34 if_icmplt zorch 35 36 aload 5 37 iconst_0 38 iaload 39 iload_0 40 if_icmpgt zorch 41 42 iload 4 43 iload_1 44 if_icmpge zorch 45 46 nop 47 48 zorch: 49 return 50 .end method 51 52 .method public static test2(I)Ljava/lang/Object; 53 .limit locals 2 54 .limit stack 3 55 56 aconst_null 57 astore 1 58 59 aload_1 60 iconst_0 61 iaload 62 iload_0 63 if_icmpge zorch 64 65 nop 66 67 zorch: 68 aconst_null 69 areturn 70 .end method 71 72 .method public static test3(I[I)Ljava/lang/Object; 73 .limit locals 3 74 .limit stack 3 75 76 aconst_null 77 astore 2 78 79 frotz: 80 aload_2 81 ifnonnull fizmo 82 83 aload_1 84 astore_2 85 goto frotz 86 87 fizmo: 88 aload_2 89 iconst_0 90 iaload 91 iload_0 92 if_icmpge zorch 93 94 nop 95 96 zorch: 97 aconst_null 98 areturn 99 .end method 100