[llvm] r283150 - [WebAssembly] Delete an unused function. NFC.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 15:06:28 PDT 2016
Author: djg
Date: Mon Oct 3 17:06:28 2016
New Revision: 283150
URL: http://llvm.org/viewvc/llvm-project?rev=283150&view=rev
Log:
[WebAssembly] Delete an unused function. NFC.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp?rev=283150&r1=283149&r2=283150&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp Mon Oct 3 17:06:28 2016
@@ -82,7 +82,6 @@ private:
raw_ostream &OS) override;
MVT getRegType(unsigned RegNo) const;
- const char *toString(MVT VT) const;
std::string regToString(const MachineOperand &MO);
WebAssemblyTargetStreamer *getTargetStreamer();
};
@@ -104,10 +103,6 @@ MVT WebAssemblyAsmPrinter::getRegType(un
return MVT::Other;
}
-const char *WebAssemblyAsmPrinter::toString(MVT VT) const {
- return WebAssembly::TypeToString(VT);
-}
-
std::string WebAssemblyAsmPrinter::regToString(const MachineOperand &MO) {
unsigned RegNo = MO.getReg();
assert(TargetRegisterInfo::isVirtualRegister(RegNo) &&
More information about the llvm-commits
mailing list