diff options
Diffstat (limited to 'compiler/compiled_method.h')
-rw-r--r-- | compiler/compiled_method.h | 5 |
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) { |