summaryrefslogtreecommitdiff
path: root/compiler/compiled_method.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-10-06 13:46:55 +0200
committer VladimĂ­r Marko <vmarko@google.com> 2022-10-06 15:02:53 +0000
commit8c5e881904c30de5dbc03536ea67bbe2d48088fd (patch)
treeb0bbf7c5120d7894d21131478640e6f7b8761975 /compiler/compiled_method.h
parente1b8877890147b8572809266653677084e1a5112 (diff)
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
Diffstat (limited to 'compiler/compiled_method.h')
-rw-r--r--compiler/compiled_method.h5
1 files changed, 0 insertions, 5 deletions
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<size_t>(InstructionSet::kLast));