[X86][Mips] Remove unused method declaration from the X86 and Mips AsmPrinters.
authorCraig Topper <craig.topper@intel.com>
Fri, 8 Dec 2017 23:30:03 +0000 (23:30 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 8 Dec 2017 23:30:03 +0000 (23:30 +0000)
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
llvm/lib/Target/X86/X86AsmPrinter.h

index c53d80e4b0f67ebce7cf6cf238f7e1d3226ac735..999b6f896baed110ceed3408c2192a76d03dd9f3 100644 (file)
@@ -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
index 08d7734517932c32b0e64cce9b246018c90deb40..7e70789ac82c31714598a67f402a2f220f7c24d5 100644 (file)
@@ -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);