diff options
author | 2017-06-05 17:56:46 -0700 | |
---|---|---|
committer | 2017-06-05 20:28:16 -0700 | |
commit | 5d08fcc21a14190c4dba3028a3e35d281afdd016 (patch) | |
tree | c42de65ced190778342d9b022e400f4a7f9d346b /compiler/dex/inline_method_analyser.cc | |
parent | 57cf00bde719ddc84a6015b107b90a20169e3099 (diff) |
ART: More header cleanups
Pull out more dependencies through forward declarations.
Test: m test-art-host
Change-Id: I7d86726928937f788b956ec9eac91532d66d57ae
Diffstat (limited to 'compiler/dex/inline_method_analyser.cc')
-rw-r--r-- | compiler/dex/inline_method_analyser.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/dex/inline_method_analyser.cc b/compiler/dex/inline_method_analyser.cc index e691a67dc0..257229101c 100644 --- a/compiler/dex/inline_method_analyser.cc +++ b/compiler/dex/inline_method_analyser.cc @@ -433,8 +433,11 @@ bool InlineMethodAnalyser::AnalyseMethodCode(ArtMethod* method, InlineMethod* re // Native or abstract. return false; } - return AnalyseMethodCode( - code_item, method->ToMethodReference(), method->IsStatic(), method, result); + return AnalyseMethodCode(code_item, + MethodReference(method->GetDexFile(), method->GetDexMethodIndex()), + method->IsStatic(), + method, + result); } bool InlineMethodAnalyser::AnalyseMethodCode(const DexFile::CodeItem* code_item, |