diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-10 00:00:25 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-10 00:00:25 +0000 |
commit | fe56c25065dc63c43b5b07b7a62d0b3b291818cc (patch) | |
tree | a3711a74e5fb5747008060bc143c4d084adc4e7a /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | de912e2475d49e7f9b0a77f33ffcb78f52504042 (diff) | |
download | bcm5719-llvm-fe56c25065dc63c43b5b07b7a62d0b3b291818cc.tar.gz bcm5719-llvm-fe56c25065dc63c43b5b07b7a62d0b3b291818cc.zip |
Constify getter methods.
llvm-svn: 68745
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 5ceac3bb4f0..c9fd1ac60ac 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -236,7 +236,8 @@ bool AsmPrinter::doFinalization(Module &M) { return false; } -std::string AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF) { +std::string +AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF) const { assert(MF && "No machine function?"); std::string Name = MF->getFunction()->getName(); if (Name.empty()) |