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_move_result_wide_1.java
     16 .class public dot.junit.opcodes.move_result_wide.d.T_move_result_wide_1
     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 static run()Z
     28 .limit regs 16
     29 
     30     const v0, 0
     31 
     32     invoke-static {} dot/junit/opcodes/move_result_wide/d/T_move_result_wide_1/foo()J
     33 
     34     move-result-wide v0
     35     const-wide v2, 12345
     36 
     37     cmp-long v5, v0, v2
     38     if-eqz v5, Label1
     39 
     40     const v0, 0
     41     return v0
     42 
     43 Label1:
     44     const v0, 1
     45     return v0
     46 
     47 .end method
     48 
     49 .method private static foo()J
     50 .limit regs 2
     51 
     52      const-wide v0, 12345
     53      return-wide v0
     54 .end method
     55 
     56 
     57