From e39e702b7d09ed92a8b6af635bc0ea25c147f8b7 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 4 May 2017 11:54:35 +0100 Subject: ARM/VIXL: Remove obsolete DeduplicateDexCacheAddressLiteral(). Test: Rely on TreeHugger. Bug: 30627598 Change-Id: Ib6215e2051d14c8a4926e05bd7719d2b9a8122c1 --- compiler/optimizing/code_generator_arm_vixl.cc | 4 ---- compiler/optimizing/code_generator_arm_vixl.h | 1 - 2 files changed, 5 deletions(-) (limited to 'compiler/optimizing') diff --git a/compiler/optimizing/code_generator_arm_vixl.cc b/compiler/optimizing/code_generator_arm_vixl.cc index b6678b03ef..1b55703e20 100644 --- a/compiler/optimizing/code_generator_arm_vixl.cc +++ b/compiler/optimizing/code_generator_arm_vixl.cc @@ -8512,10 +8512,6 @@ VIXLUInt32Literal* CodeGeneratorARMVIXL::DeduplicateBootImageAddressLiteral(uint return DeduplicateUint32Literal(dchecked_integral_cast(address), &uint32_literals_); } -VIXLUInt32Literal* CodeGeneratorARMVIXL::DeduplicateDexCacheAddressLiteral(uint32_t address) { - return DeduplicateUint32Literal(address, &uint32_literals_); -} - VIXLUInt32Literal* CodeGeneratorARMVIXL::DeduplicateJitStringLiteral( const DexFile& dex_file, dex::StringIndex string_index, diff --git a/compiler/optimizing/code_generator_arm_vixl.h b/compiler/optimizing/code_generator_arm_vixl.h index 1e9669dc38..7281069102 100644 --- a/compiler/optimizing/code_generator_arm_vixl.h +++ b/compiler/optimizing/code_generator_arm_vixl.h @@ -577,7 +577,6 @@ class CodeGeneratorARMVIXL : public CodeGenerator { VIXLUInt32Literal* DeduplicateBootImageTypeLiteral(const DexFile& dex_file, dex::TypeIndex type_index); VIXLUInt32Literal* DeduplicateBootImageAddressLiteral(uint32_t address); - VIXLUInt32Literal* DeduplicateDexCacheAddressLiteral(uint32_t address); VIXLUInt32Literal* DeduplicateJitStringLiteral(const DexFile& dex_file, dex::StringIndex string_index, Handle handle); -- cgit v1.2.3-59-g8ed1b