summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-17 16:44:48 +0000
committerDan Gohman <gohman@apple.com>2010-04-17 16:44:48 +0000
commit53d4a08d2b13c608cd9a04b4b3ff3d105364f329 (patch)
tree6fd06c709ee3cb4b1d7cc8b18c66c71d291b9419 /llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
parent88f7f6aeda7df297721b1f1837a76d31caac00bc (diff)
downloadbcm5719-llvm-53d4a08d2b13c608cd9a04b4b3ff3d105364f329.tar.gz
bcm5719-llvm-53d4a08d2b13c608cd9a04b4b3ff3d105364f329.zip
Add const qualifiers to TargetLoweringObjectFile usage.
llvm-svn: 101640
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
index 570dcf8d386..ff0f971cc38 100644
--- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
+++ b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.cpp
@@ -26,7 +26,7 @@ PIC16TargetObjectFile::~PIC16TargetObjectFile() {
/// Find a pic16 section. Return null if not found. Do not create one.
PIC16Section *PIC16TargetObjectFile::
-findPIC16Section(const std::string &Name) {
+findPIC16Section(const std::string &Name) const {
/// Return if we have an already existing one.
PIC16Section *Entry = SectionsByName[Name];
if (Entry)
OpenPOWER on IntegriCloud