[llvm-commits] [llvm] r85138 - in /llvm/trunk/lib/Target/PIC16/PIC16Passes: Makefile PIC16Overlay.cpp

Anton Korobeynikov asl at math.spbu.ru
Mon Oct 26 11:40:24 PDT 2009


Author: asl
Date: Mon Oct 26 13:40:24 2009
New Revision: 85138

URL: http://llvm.org/viewvc/llvm-project?rev=85138&view=rev
Log:
Revert r85134, it breaks mingw build

Modified:
    llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile
    llvm/trunk/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp

Modified: llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile?rev=85138&r1=85137&r2=85138&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile Mon Oct 26 13:40:24 2009
@@ -8,9 +8,8 @@
 ##===----------------------------------------------------------------------===##
 LEVEL = ../../../..
 TARGET = PIC16
-LIBRARYNAME = PIC16Passes
-LOADABLE_MODULE = 1
-
+LIBRARYNAME = LLVMpic16passes
+BUILD_ARCHIVE = 1
 
 include $(LEVEL)/Makefile.common
 

Modified: llvm/trunk/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp?rev=85138&r1=85137&r2=85138&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp Mon Oct 26 13:40:24 2009
@@ -25,8 +25,7 @@
 
 namespace llvm {
   char PIC16FrameOverlay::ID = 0;
-  static RegisterPass<PIC16FrameOverlay>
-  X("pic16overlay", "PIC16 Frame Overlay Analysis");
+  ModulePass *createPIC16OverlayPass() { return new PIC16FrameOverlay(); }
 }
 
 void PIC16FrameOverlay::getAnalysisUsage(AnalysisUsage &AU) const {





More information about the llvm-commits mailing list