From c52f3034b06c03632e937aff07d46c2bdcadfef5 Mon Sep 17 00:00:00 2001 From: Richard Uhler Date: Thu, 2 Mar 2017 13:45:45 +0000 Subject: Remove --include-patch-information option from dex2oat. Because we no longer support running patchoat on npic oat files, which means the included patch information is unused . Bug: 33192586 Test: m test-art-host Change-Id: I9e100c4e47dc24d91cd74226c84025e961d30f67 --- 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 e2a0942724..00e2d62bff 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -170,7 +170,6 @@ class LinkerPatch { // choose to squeeze the Type into fewer than 8 bits, we'll have to declare // patch_type_ as an uintN_t and do explicit static_cast<>s. enum class Type : uint8_t { - kRecordPosition, // Just record patch position for patchoat. kMethod, kCall, kCallRelative, // NOTE: Actual patching is instruction_set-dependent. @@ -183,10 +182,6 @@ class LinkerPatch { kDexCacheArray, // NOTE: Actual patching is instruction_set-dependent. }; - static LinkerPatch RecordPosition(size_t literal_offset) { - return LinkerPatch(literal_offset, Type::kRecordPosition, /* target_dex_file */ nullptr); - } - static LinkerPatch MethodPatch(size_t literal_offset, const DexFile* target_dex_file, uint32_t target_method_idx) { -- cgit v1.2.3-59-g8ed1b