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 {
std::string 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());
}
@ -303,15 +303,14 @@ void AlphaRegisterInfo::emitEpilogue(MachineFunction &MF,
} else {
std::string 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());
}
}
}
unsigned AlphaRegisterInfo::getRARegister() const {
llvm_unreachable("What is the return address register");
return 0;
return Alpha::R26;
}
unsigned AlphaRegisterInfo::getFrameRegister(const MachineFunction &MF) const {