diff options
author | 2018-01-02 14:26:50 -0800 | |
---|---|---|
committer | 2018-01-02 17:53:21 -0800 | |
commit | 73f21d45a41aaad1a02eecdf3bbdbf78ef599d5e (patch) | |
tree | 88d52c615cd8ec5bd8d2fad44fddeef0911e2458 /compiler/driver/dex_compilation_unit.cc | |
parent | d096b3a09f0e7129813fb663fec5b5f131565d71 (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 'compiler/driver/dex_compilation_unit.cc')
-rw-r--r-- | compiler/driver/dex_compilation_unit.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/driver/dex_compilation_unit.cc b/compiler/driver/dex_compilation_unit.cc index 7e8e812c4a..76e1299cc9 100644 --- a/compiler/driver/dex_compilation_unit.cc +++ b/compiler/driver/dex_compilation_unit.cc @@ -16,6 +16,7 @@ #include "dex_compilation_unit.h" +#include "code_item_accessors-inl.h" #include "mirror/dex_cache.h" #include "utils.h" @@ -38,7 +39,8 @@ DexCompilationUnit::DexCompilationUnit(Handle<mirror::ClassLoader> class_loader, dex_method_idx_(method_idx), access_flags_(access_flags), verified_method_(verified_method), - dex_cache_(dex_cache) { + dex_cache_(dex_cache), + code_item_accessor_(&dex_file, code_item) { } const std::string& DexCompilationUnit::GetSymbol() { |