diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2008-05-14 11:31:39 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2008-05-14 11:31:39 +0000 |
commit | 2010b3eea608c420337a94b18899e9e378913edb (patch) | |
tree | bf88751f0f674e8c9193faf44ae20931d5d53448 /lib/Target/PIC16/PIC16TargetMachine.cpp | |
parent | 6422e8aa1ca15e85302e601397d5d1fae7410ed4 (diff) |
Detabification. Fixed indentation and spacing.
Changed cout to DOUT, and TODOs to FIXMEs.
Other changes as per coding conventions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetMachine.cpp')
-rw-r--r-- | lib/Target/PIC16/PIC16TargetMachine.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/Target/PIC16/PIC16TargetMachine.cpp b/lib/Target/PIC16/PIC16TargetMachine.cpp index 2be0afb723..7b3814b9e0 100644 --- a/lib/Target/PIC16/PIC16TargetMachine.cpp +++ b/lib/Target/PIC16/PIC16TargetMachine.cpp @@ -12,12 +12,12 @@ //===----------------------------------------------------------------------===// #include "PIC16.h" -#include "PIC16TargetMachine.h" #include "PIC16TargetAsmInfo.h" +#include "PIC16TargetMachine.h" #include "llvm/Module.h" #include "llvm/PassManager.h" -#include "llvm/Target/TargetMachineRegistry.h" #include "llvm/Target/TargetAsmInfo.h" +#include "llvm/Target/TargetMachineRegistry.h" using namespace llvm; @@ -33,8 +33,7 @@ PIC16TargetMachine(const Module &M, const std::string &FS) : FrameInfo(TargetFrameInfo::StackGrowsUp, 8, 0) { } -const TargetAsmInfo *PIC16TargetMachine:: -createTargetAsmInfo() const +const TargetAsmInfo *PIC16TargetMachine::createTargetAsmInfo() const { return new PIC16TargetAsmInfo(*this); } @@ -43,8 +42,7 @@ createTargetAsmInfo() const // Pass Pipeline Configuration //===----------------------------------------------------------------------===// -bool PIC16TargetMachine:: -addInstSelector(PassManagerBase &PM, bool Fast) +bool PIC16TargetMachine::addInstSelector(PassManagerBase &PM, bool Fast) { // Install an instruction selector. PM.add(createPIC16ISelDag(*this)); @@ -57,7 +55,7 @@ addPrologEpilogInserter(PassManagerBase &PM, bool Fast) return false; } -bool PIC16TargetMachine:: addPreEmitPass(PassManagerBase &PM, bool Fast) +bool PIC16TargetMachine::addPreEmitPass(PassManagerBase &PM, bool Fast) { return true; } |