[llvm-commits] [llvm] r96220 - /llvm/trunk/lib/Target/Alpha/AlphaRegisterInfo.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Feb 15 07:00:44 PST 2010
Author: alenhar2
Date: Mon Feb 15 09:00:44 2010
New Revision: 96220
URL: http://llvm.org/viewvc/llvm-project?rev=96220&view=rev
Log:
Fix changes from r75027
Modified:
llvm/trunk/lib/Target/Alpha/AlphaRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/Alpha/AlphaRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaRegisterInfo.cpp?rev=96220&r1=96219&r2=96220&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaRegisterInfo.cpp Mon Feb 15 09:00:44 2010
@@ -251,7 +251,7 @@
} 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 @@
} 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 {
More information about the llvm-commits
mailing list