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