From e29f50da4dacf15faa5c306c4196679b95bdb0bc Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 8 Dec 2017 23:30:03 +0000 Subject: [PATCH] [X86][Mips] Remove unused method declaration from the X86 and Mips AsmPrinters. Both had a declaration of EmitXRayTable, but there is no method defined in either with that name. There is a emitXRayTable in the base class with a lower case 'e' and they both call that. llvm-svn: 320213 --- llvm/lib/Target/Mips/MipsAsmPrinter.h | 3 --- llvm/lib/Target/X86/X86AsmPrinter.h | 4 ---- 2 files changed, 7 deletions(-) diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.h b/llvm/lib/Target/Mips/MipsAsmPrinter.h index c53d80e4b0f6..999b6f896bae 100644 --- a/llvm/lib/Target/Mips/MipsAsmPrinter.h +++ b/llvm/lib/Target/Mips/MipsAsmPrinter.h @@ -54,9 +54,6 @@ public: void LowerPATCHABLE_FUNCTION_ENTER(const MachineInstr &MI); void LowerPATCHABLE_FUNCTION_EXIT(const MachineInstr &MI); void LowerPATCHABLE_TAIL_CALL(const MachineInstr &MI); - // Helper function that emits the XRay sleds we've collected for a particular - // function. - void EmitXRayTable(); private: /// MCP - Keep a pointer to constantpool entries of the current diff --git a/llvm/lib/Target/X86/X86AsmPrinter.h b/llvm/lib/Target/X86/X86AsmPrinter.h index 08d773451793..7e70789ac82c 100644 --- a/llvm/lib/Target/X86/X86AsmPrinter.h +++ b/llvm/lib/Target/X86/X86AsmPrinter.h @@ -97,10 +97,6 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter { void LowerFENTRY_CALL(const MachineInstr &MI, X86MCInstLower &MCIL); - // Helper function that emits the XRay sleds we've collected for a particular - // function. - void EmitXRayTable(); - // Choose between emitting .seh_ directives and .cv_fpo_ directives. void EmitSEHInstruction(const MachineInstr *MI);