[llvm] r254268 - [WebAssembly] Delete unused functions. NFC.

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 29 14:48:57 PST 2015


Author: djg
Date: Sun Nov 29 16:48:57 2015
New Revision: 254268

URL: http://llvm.org/viewvc/llvm-project?rev=254268&view=rev
Log:
[WebAssembly] Delete unused functions. NFC.

Modified:
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp?rev=254268&r1=254267&r2=254268&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp Sun Nov 29 16:48:57 2015
@@ -102,12 +102,10 @@ public:
   FunctionPass *createTargetRegisterAllocator(bool) override;
 
   void addIRPasses() override;
-  bool addPreISel() override;
   bool addInstSelector() override;
   bool addILPOpts() override;
   void addPreRegAlloc() override;
   void addPostRegAlloc() override;
-  void addPreSched2() override;
   void addPreEmitPass() override;
 };
 } // end anonymous namespace
@@ -147,8 +145,6 @@ void WebAssemblyPassConfig::addIRPasses(
   TargetPassConfig::addIRPasses();
 }
 
-bool WebAssemblyPassConfig::addPreISel() { return false; }
-
 bool WebAssemblyPassConfig::addInstSelector() {
   addPass(
       createWebAssemblyISelDag(getWebAssemblyTargetMachine(), getOptLevel()));
@@ -183,8 +179,6 @@ void WebAssemblyPassConfig::addPostRegAl
   addPass(createWebAssemblyRegColoring());
 }
 
-void WebAssemblyPassConfig::addPreSched2() {}
-
 void WebAssemblyPassConfig::addPreEmitPass() {
   // Put the CFG in structured form; insert BLOCK and LOOP markers.
   addPass(createWebAssemblyCFGStackify());




More information about the llvm-commits mailing list