Home | History | Annotate | Download | only in 084-dex-high-register-moves
      1 /*
      2  * Copyright (C) 2007 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 public class Blort
     18 {
     19     private static int i;
     20     private static long l;
     21     private static Object o;
     22 
     23     public static void test() {
     24         int i0 = 0;
     25         int i1 = 0;
     26         int i2 = 0;
     27         int i3 = 0;
     28         int i4 = 0;
     29         int i5 = 0;
     30         int i6 = 0;
     31         int i7 = 0;
     32         int i8 = 0;
     33         int i9 = 0;
     34         int i10 = 0;
     35         int i11 = 0;
     36         int i12 = 0;
     37         int i13 = 0;
     38         int i14 = 0;
     39         int i15 = 0;
     40 
     41         int ix = i;
     42         long lx = l;
     43         Object ox = o;
     44 
     45         i = -ix;
     46         l = -lx;
     47         i = (ox instanceof String) ? 0 : 1;
     48     }
     49 }
     50