summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.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/CodeGen/AsmPrinter/AsmPrinter.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/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index cb2187d530b..daf0025f3df 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -93,7 +93,7 @@ unsigned AsmPrinter::getFunctionNumber() const {
return MF->getFunctionNumber();
}
-TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
+const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
return TM.getTargetLowering()->getObjFileLowering();
}
OpenPOWER on IntegriCloud