commit | fe8fe92809dd5b4c24a841947213994ffdd21899 | [log] [tgz] |
---|---|---|
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Mon Oct 26 18:22:59 2009 +0000 |
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Mon Oct 26 18:22:59 2009 +0000 |
tree | 2c55e4d9a85fd353fec5d2d25319179d278300e7 | |
parent | 2eb7f43741299f784b492a57d52e86702195b458 [diff] [blame] |
Make PIC16 overlay a loadable pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85134 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp b/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp index 197c398..c94d7fa 100644 --- a/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp +++ b/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp
@@ -25,7 +25,8 @@ namespace llvm { char PIC16FrameOverlay::ID = 0; - ModulePass *createPIC16OverlayPass() { return new PIC16FrameOverlay(); } + static RegisterPass<PIC16FrameOverlay> + X("pic16overlay", "PIC16 Frame Overlay Analysis"); } void PIC16FrameOverlay::getAnalysisUsage(AnalysisUsage &AU) const {