From 73f21d45a41aaad1a02eecdf3bbdbf78ef599d5e Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 2 Jan 2018 14:26:50 -0800 Subject: 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 --- compiler/driver/dex_compilation_unit.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compiler/driver/dex_compilation_unit.cc') 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 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() { -- cgit v1.2.3-59-g8ed1b