From 8c57831b2b07185ee1986b9af68a351e1ca584c3 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 7 Apr 2015 19:46:22 +0100 Subject: Remove the old CFI infrastructure. Change-Id: I12a17a8a1c39ffccaa499c328ebac36e4d74dc4e --- compiler/dex/quick/codegen_util.cc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (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..809574e7f0 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -1154,14 +1154,6 @@ CompiledMethod* Mir2Lir::GetCompiledMethod() { return lhs.LiteralOffset() < rhs.LiteralOffset(); }); - std::unique_ptr> cfi_info( - cu_->compiler_driver->GetCompilerOptions().GetGenerateGDBInformation() ? - ReturnFrameDescriptionEntry() : - nullptr); - ArrayRef cfi_ref; - if (cfi_info.get() != nullptr) { - cfi_ref = ArrayRef(*cfi_info); - } return CompiledMethod::SwapAllocCompiledMethod( cu_->compiler_driver, cu_->instruction_set, ArrayRef(code_buffer_), @@ -1170,7 +1162,7 @@ CompiledMethod* Mir2Lir::GetCompiledMethod() { ArrayRef(encoded_mapping_table_), ArrayRef(vmap_encoder.GetData()), ArrayRef(native_gc_map_), - cfi_ref, + ArrayRef(), ArrayRef(patches_)); } @@ -1332,11 +1324,6 @@ void Mir2Lir::OpPcRelDexCacheArrayLoad(const DexFile* dex_file ATTRIBUTE_UNUSED, UNREACHABLE(); } -std::vector* Mir2Lir::ReturnFrameDescriptionEntry() { - // Default case is to do nothing. - return nullptr; -} - RegLocation Mir2Lir::NarrowRegLoc(RegLocation loc) { if (loc.location == kLocPhysReg) { DCHECK(!loc.reg.Is32Bit()); -- cgit v1.2.3-59-g8ed1b