[AVR] Update return type of dynamic alloca pass

It was recently changed from 'const char*' to StringRef

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dylan McKay 2016-10-05 12:32:24 +00:00
parent 3aff1d4e47
commit 27025b7f3c

View File

@ -473,7 +473,7 @@ struct AVRFrameAnalyzer : public MachineFunctionPass {
return false;
}
const char *getPassName() const { return "AVR Frame Analyzer"; }
StringRef getPassName() const { return "AVR Frame Analyzer"; }
};
char AVRFrameAnalyzer::ID = 0;
@ -522,7 +522,7 @@ struct AVRDynAllocaSR : public MachineFunctionPass {
return true;
}
const char *getPassName() const {
StringRef getPassName() const {
return "AVR dynalloca stack pointer save/restore";
}
};