OSDN Git Service

[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320213 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsAsmPrinter.h
lib/Target/X86/X86AsmPrinter.h

index c53d80e..999b6f8 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 08d7734..7e70789 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);