Home | History | Annotate | Download | only in smali
      1 # Copyright (C) 2015 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 LPhiLiveness;
     16 
     17 .super Ljava/lang/Object;
     18 
     19 .method public static mergeOk(ZB)V
     20    .registers 5
     21    const/4 v0, 0x0
     22    const/4 v1, 0x1
     23    move v2, v3
     24    if-eq v1, v0, :else
     25    move v2, v4
     26    :else
     27    invoke-static {}, LPhiLiveness;->regsNativeCall()V
     28    return-void
     29 .end method
     30 
     31 .method public static mergeNotOk(ZF)V
     32    .registers 5
     33    const/4 v0, 0x0
     34    const/4 v1, 0x1
     35    move v2, v3
     36    if-eq v1, v0, :else
     37    move v2, v4
     38    :else
     39    invoke-static {}, LPhiLiveness;->regsNativeCall()V
     40    return-void
     41 .end method
     42 
     43 .method public static mergeReferences(LMain;)V
     44    .registers 4
     45    const/4 v0, 0x0
     46    const/4 v1, 0x1
     47    move-object v2, p0
     48    if-eq v1, v0, :else
     49    move v2, v0
     50    :else
     51    invoke-static {}, LPhiLiveness;->regsNativeCall()V
     52    return-void
     53 .end method
     54 
     55 .method public static phiEquivalent()F
     56    .registers 5
     57    const/4 v0, 0x0
     58    const/4 v1, 0x1
     59    move v2, v0
     60    if-eq v1, v0, :else
     61    move v2, v1
     62    :else
     63    invoke-static {}, LPhiLiveness;->regsNativeCall()V
     64    return v2
     65 .end method
     66 
     67 .method public static phiAllEquivalents(LMain;)V
     68    .registers 4
     69    const/4 v0, 0x0
     70    const/4 v1, 0x1
     71    move v2, v0
     72    if-eq v1, v0, :else
     73    move v2, v0
     74    :else
     75    invoke-static {v2, v2, v2}, LPhiLiveness;->regsNativeCallWithParameters(LMain;IF)V
     76    return-void
     77 .end method
     78 
     79 .method public static native regsNativeCall()V
     80 .end method
     81 .method public static native regsNativeCallWithParameters(LMain;IF)V
     82 .end method
     83