From cc23481b66fd1f2b459d82da4852073e32f033aa Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 7 Apr 2015 09:36:09 +0100 Subject: Promote pointer to dex cache arrays on arm. Do the use-count analysis on temps (ArtMethod* and the new PC-relative temp) in Mir2Lir, rather than MIRGraph. MIRGraph isn't really supposed to know how the ArtMethod* is used by the backend. Change-Id: Iaf56a46ae203eca86281b02b54f39a80fe5cc2dd --- compiler/dex/quick/codegen_util.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/dex/quick/codegen_util.cc') diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index f944c11931..c51046eed7 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -1070,6 +1070,8 @@ Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena mask_cache_(arena), safepoints_(arena->Adapter()), dex_cache_arrays_layout_(cu->compiler_driver->GetDexCacheArraysLayout(cu->dex_file)), + pc_rel_temp_(nullptr), + dex_cache_arrays_min_offset_(std::numeric_limits::max()), in_to_reg_storage_mapping_(arena) { switch_tables_.reserve(4); fill_array_data_.reserve(4); -- cgit v1.2.3-59-g8ed1b