summaryrefslogtreecommitdiff
path: root/runtime/art_method.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/art_method.cc')
-rw-r--r--runtime/art_method.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/art_method.cc b/runtime/art_method.cc
index a03df5cc2f..759dd958a6 100644
--- a/runtime/art_method.cc
+++ b/runtime/art_method.cc
@@ -912,15 +912,6 @@ const char* ArtMethod::GetRuntimeMethodName() {
}
}
-void ArtMethod::SetCodeItem(const dex::CodeItem* code_item, bool is_compact_dex_code_item) {
- DCHECK(HasCodeItem());
- // We mark the lowest bit for the interpreter to know whether it's executing a
- // method in a compact or standard dex file.
- uintptr_t data =
- reinterpret_cast<uintptr_t>(code_item) | (is_compact_dex_code_item ? 1 : 0);
- SetDataPtrSize(reinterpret_cast<void*>(data), kRuntimePointerSize);
-}
-
// AssertSharedHeld doesn't work in GetAccessFlags, so use a NO_THREAD_SAFETY_ANALYSIS helper.
// TODO: Figure out why ASSERT_SHARED_CAPABILITY doesn't work.
template <ReadBarrierOption kReadBarrierOption>