mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix changes from r75027
llvm-svn: 96220
This commit is contained in:
parent
adc600ceb5
commit
87e914773e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user