From 956af0f0cb05422e38c1d22cbef309d16b8a1a12 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 11 Dec 2014 14:34:28 -0800 Subject: Remove portable. Change-Id: I3bf3250fa866fd2265f1b115d52fa5dedc48a7fc --- patchoat/patchoat.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'patchoat/patchoat.cc') diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index 68fd15bc20..b6ec223680 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -540,12 +540,6 @@ void PatchOat::FixupMethod(mirror::ArtMethod* object, mirror::ArtMethod* copy) { const size_t pointer_size = InstructionSetPointerSize(isa_); // Just update the entry points if it looks like we should. // TODO: sanity check all the pointers' values - uintptr_t portable = reinterpret_cast( - object->GetEntryPointFromPortableCompiledCodePtrSize(pointer_size)); - if (portable != 0) { - copy->SetEntryPointFromPortableCompiledCodePtrSize(reinterpret_cast(portable + delta_), - pointer_size); - } uintptr_t quick= reinterpret_cast( object->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size)); if (quick != 0) { -- cgit v1.2.3