From 8c5e881904c30de5dbc03536ea67bbe2d48088fd Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 6 Oct 2022 13:46:55 +0200 Subject: Remove `CompiledCode::CodePointer()`. And clean up some related test helpers in preparation for moving `CompiledMethod` to dex2oat/. Test: m test-art-host-gtest Test: run-gtests.sh Change-Id: I13b42bfb4f6ee3a7f7f22bbc8d22203c5d56e00b --- compiler/compiled_method.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler/compiled_method.h') diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index fa80d67b40..ed31ca7cf6 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -62,11 +62,6 @@ class CompiledCode { // Mainly to cope with `kThumb2` where the lower bit must be set. size_t GetEntryPointAdjustment() const; - // Returns a pointer suitable for invoking the code at the argument - // code_pointer address. Mainly to cope with kThumb2 where the - // lower bit must be set to indicate Thumb mode. - static const void* CodePointer(const void* code_pointer, InstructionSet instruction_set); - protected: static constexpr size_t kInstructionSetFieldSize = MinimumBitsToStore(static_cast(InstructionSet::kLast)); -- cgit v1.2.3-59-g8ed1b