Debian Codegraph @

test/811-checker-invoke-super-secondary/smali-ex/OtherClass.smali

raw
1 # Copyright 2020 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 LOtherClass;
16 .super LOtherSuperClass;
17
18 ## CHECK-START: void OtherClass.$noinline$foo() register (after)
19 ## CHECK-DAG: InvokeStaticOrDirect dex_file_index:<<Index1:\d+>> method_name:SuperSuperClass.$noinline$foo
20 ## CHECK-DAG: InvokeStaticOrDirect dex_file_index:<<Index2:\d+>> method_name:SuperSuperClass.$noinline$foo
21 ## CHECK-EVAL: <<Index1>> == <<Index2>>
22 .method public $noinline$foo()V
23 .registers 1
24 invoke-super {p0}, LOtherSuperClass;->$noinline$foo()V
25 invoke-super {p0}, LSuperSuperClass;->$noinline$foo()V
26 return-void
27 .end method
28
29 .method public constructor <init>()V
30 .registers 1
31 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
32 return-void
33 .end method
34