commit | 443093da0797ffc3b48ef30121243d1a700e63df | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Apr 17 16:44:48 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Apr 17 16:44:48 2010 +0000 |
tree | b0536d75aba7a5f2cec56facbf1695121c9a712d | |
parent | 8db6249bf8e3ee5dcea276ec29a24835125e8538 [diff] |
Add const qualifiers to TargetLoweringObjectFile usage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101640 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index cb2187d..daf0025 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -93,7 +93,7 @@ return MF->getFunctionNumber(); } -TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const { +const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const { return TM.getTargetLowering()->getObjFileLowering(); }