diff options
author | Dan Gohman <gohman@apple.com> | 2007-11-19 20:46:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-11-19 20:46:23 +0000 |
commit | 50cdabcfd52e88381ade61450d98a1c757195bef (patch) | |
tree | 487cb54b6e194c6023b5e01a1fb2752bbb4bb905 /lib/Target | |
parent | daf9bc8eee3eb1bc992480921f50ef1b760f4159 (diff) | |
download | external_llvm-50cdabcfd52e88381ade61450d98a1c757195bef.zip external_llvm-50cdabcfd52e88381ade61450d98a1c757195bef.tar.gz external_llvm-50cdabcfd52e88381ade61450d98a1c757195bef.tar.bz2 |
Remove meaningless qualifiers from return types, avoiding compiler warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.cpp | 2 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index 86da3d7..a09681a 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -101,7 +101,7 @@ PPCTargetMachine::PPCTargetMachine(const Module &M, const std::string &FS, /// Override this for PowerPC. Tail merging happily breaks up instruction issue /// groups, which typically degrades performance. -const bool PPCTargetMachine::getEnableTailMergeDefault() const { return false; } +bool PPCTargetMachine::getEnableTailMergeDefault() const { return false; } PPC32TargetMachine::PPC32TargetMachine(const Module &M, const std::string &FS) : PPCTargetMachine(M, FS, false) { diff --git a/lib/Target/PowerPC/PPCTargetMachine.h b/lib/Target/PowerPC/PPCTargetMachine.h index a00f858..b3477cc 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.h +++ b/lib/Target/PowerPC/PPCTargetMachine.h @@ -73,7 +73,7 @@ public: bool DumpAsm, MachineCodeEmitter &MCE); virtual bool addSimpleCodeEmitter(FunctionPassManager &PM, bool Fast, bool DumpAsm, MachineCodeEmitter &MCE); - virtual const bool getEnableTailMergeDefault() const; + virtual bool getEnableTailMergeDefault() const; }; /// PPC32TargetMachine - PowerPC 32-bit target machine. |