summaryrefslogtreecommitdiff
path: root/compiler/compiled_method.h
diff options
context:
space:
mode:
author Richard Uhler <ruhler@google.com> 2017-03-02 13:45:45 +0000
committer Richard Uhler <ruhler@google.com> 2017-03-08 10:55:17 +0000
commitc52f3034b06c03632e937aff07d46c2bdcadfef5 (patch)
tree031e4d1b2ca0961014e57e4987d80d7aa2c435b0 /compiler/compiled_method.h
parentef81e988d0eb4db390e576aac346701b2d820916 (diff)
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
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 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) {