mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Don't pass back a reference to a temporary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42086 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -160,8 +160,7 @@ bool AsmPrinter::doFinalization(Module &M) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const std::string &
|
||||
AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF) {
|
||||
std::string AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF) {
|
||||
assert(MF && "No machine function?");
|
||||
return Mang->makeNameProper(MF->getFunction()->getName() + ".eh",
|
||||
TAI->getGlobalPrefix());
|
||||
|
||||
Reference in New Issue
Block a user