diff options
Diffstat (limited to 'runtime/dex_to_dex_decompiler.cc')
-rw-r--r-- | runtime/dex_to_dex_decompiler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/dex_to_dex_decompiler.cc b/runtime/dex_to_dex_decompiler.cc index dc7e11bc19..7f36c4e1ce 100644 --- a/runtime/dex_to_dex_decompiler.cc +++ b/runtime/dex_to_dex_decompiler.cc @@ -31,11 +31,11 @@ namespace optimizer { class DexDecompiler { public: - DexDecompiler(const DexFile* dex_file, + DexDecompiler(const DexFile& dex_file, const DexFile::CodeItem& code_item, const ArrayRef<const uint8_t>& quickened_info, bool decompile_return_instruction) - : code_item_accessor_(dex_file, &code_item), + : code_item_accessor_(&dex_file, &code_item), quicken_info_(quickened_info.data()), quicken_info_number_of_indices_(QuickenInfoTable::NumberOfIndices(quickened_info.size())), decompile_return_instruction_(decompile_return_instruction) {} @@ -196,7 +196,7 @@ bool DexDecompiler::Decompile() { return true; } -bool ArtDecompileDEX(const DexFile* dex_file, +bool ArtDecompileDEX(const DexFile& dex_file, const DexFile::CodeItem& code_item, const ArrayRef<const uint8_t>& quickened_info, bool decompile_return_instruction) { |