summaryrefslogtreecommitdiff
path: root/runtime/dex_to_dex_decompiler.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2018-01-02 14:26:50 -0800
committer Mathieu Chartier <mathieuc@google.com> 2018-01-02 17:53:21 -0800
commit73f21d45a41aaad1a02eecdf3bbdbf78ef599d5e (patch)
tree88d52c615cd8ec5bd8d2fad44fddeef0911e2458 /runtime/dex_to_dex_decompiler.h
parentd096b3a09f0e7129813fb663fec5b5f131565d71 (diff)
Remove CodeItem accessor functions
These are replaced by the accessor helpers. Bug: 63756964 Test: test-art-host Test: test/testrunner/testrunner.py --host -j30 Change-Id: Ic93d60b68b684eeb5f69be286b4e15b8f8f97542
Diffstat (limited to 'runtime/dex_to_dex_decompiler.h')
-rw-r--r--runtime/dex_to_dex_decompiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/dex_to_dex_decompiler.h b/runtime/dex_to_dex_decompiler.h
index d7cb1641e1..804b7e830a 100644
--- a/runtime/dex_to_dex_decompiler.h
+++ b/runtime/dex_to_dex_decompiler.h
@@ -29,7 +29,8 @@ namespace optimizer {
// to non-const has too many repercussions on the code base. We make it
// consistent with DexToDexCompiler, but we should really change it to
// DexFile::CodeItem*.
-bool ArtDecompileDEX(const DexFile::CodeItem& code_item,
+bool ArtDecompileDEX(const DexFile* dex_file,
+ const DexFile::CodeItem& code_item,
const ArrayRef<const uint8_t>& quickened_data,
bool decompile_return_instruction);