summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-05-03 01:11:54 +0000
committerDevang Patel <dpatel@apple.com>2007-05-03 01:11:54 +0000
commit8c78a0bff0c0e9d0594598bcb76cd623bb625083 (patch)
tree7bc923ea023ad1b97520bf8dc76bdb2bc861fc7b /llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
parent7aa944da8b4de0e532a5634a66f99f418d4bd0dc (diff)
downloadbcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.tar.gz
bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.zip
Drop 'const'
llvm-svn: 36662
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCBranchSelector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
index 28a61c09e80..4286f01b30d 100644
--- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
@@ -32,7 +32,7 @@ STATISTIC(NumExpanded, "Number of branches expanded to long format");
namespace {
struct VISIBILITY_HIDDEN PPCBSel : public MachineFunctionPass {
- static const char ID;
+ static char ID;
PPCBSel() : MachineFunctionPass((intptr_t)&ID) {}
/// BlockSizes - The sizes of the basic blocks in the function.
@@ -44,7 +44,7 @@ namespace {
return "PowerPC Branch Selector";
}
};
- const char PPCBSel::ID = 0;
+ char PPCBSel::ID = 0;
}
/// createPPCBranchSelectionPass - returns an instance of the Branch Selection
OpenPOWER on IntegriCloud