Home | History | Annotate | Download | only in smali
      1 # Copyright (C) 2018 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 public LDoubleCatchPhi;
     16 
     17 .super Ljava/lang/Object;
     18 
     19 .field public mValue:D
     20 
     21 .method public constructor <init>()V
     22 .registers 1
     23     invoke-direct {v0}, Ljava/lang/Object;-><init>()V
     24     return-void
     25 .end method
     26 
     27 .method public strangeMethod(F)V
     28 .registers 6
     29    move-object v2, v4
     30    monitor-enter v4
     31 :try_start1
     32    float-to-double v0, v5
     33    iput-wide v0, v4, LDoubleCatchPhi;->mValue:D
     34    monitor-exit v2
     35 :try_end1
     36    goto :end_catch
     37 :catch
     38 :try_start2
     39    move-exception v3
     40    monitor-exit v2
     41 :try_end2
     42    throw v3
     43 :end_catch
     44    return-void
     45 .catchall {:try_start1 .. :try_end1} :catch
     46 .catchall {:try_start2 .. :try_end2} :catch
     47 .end method
     48