Fix changes from r75027

llvm-svn: 96220
This commit is contained in:
Andrew Lenharth 2010-02-15 15:00:44 +00:00
parent adc600ceb5
commit 87e914773e

View File

@ -251,7 +251,7 @@ void AlphaRegisterInfo::emitPrologue(MachineFunction &MF) const {
} else { } else {
std::string msg; std::string msg;
raw_string_ostream Msg(msg); raw_string_ostream Msg(msg);
Msg << "Too big a stack frame at " + NumBytes; Msg << "Too big a stack frame at " << NumBytes;
llvm_report_error(Msg.str()); llvm_report_error(Msg.str());
} }
@ -303,15 +303,14 @@ void AlphaRegisterInfo::emitEpilogue(MachineFunction &MF,
} else { } else {
std::string msg; std::string msg;
raw_string_ostream Msg(msg); raw_string_ostream Msg(msg);
Msg << "Too big a stack frame at " + NumBytes; Msg << "Too big a stack frame at " << NumBytes;
llvm_report_error(Msg.str()); llvm_report_error(Msg.str());
} }
} }
} }
unsigned AlphaRegisterInfo::getRARegister() const { unsigned AlphaRegisterInfo::getRARegister() const {
llvm_unreachable("What is the return address register"); return Alpha::R26;
return 0;
} }
unsigned AlphaRegisterInfo::getFrameRegister(const MachineFunction &MF) const { unsigned AlphaRegisterInfo::getFrameRegister(const MachineFunction &MF) const {