aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-10-20 00:28:31 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-10-20 00:28:31 +0000
commit4907d22a903357b19d67b45616d0cd249cb7049f (patch)
tree49025bc5743dede0e6388546467b58a5c4229fcd /lib/Target/Alpha/AlphaRegisterInfo.cpp
parent9811ea456746684336db7d83b2976ad5130ab4d0 (diff)
ret 0; works, not much else
still lots of uglyness. Maybe calls will come soon. Fixing the return value of things will be necessary to make alpha work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaRegisterInfo.cpp')
-rw-r--r--lib/Target/Alpha/AlphaRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp
index c348fa9ce4..baf6bca8ee 100644
--- a/lib/Target/Alpha/AlphaRegisterInfo.cpp
+++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp
@@ -314,7 +314,7 @@ void AlphaRegisterInfo::emitEpilogue(MachineFunction &MF,
MachineBasicBlock &MBB) const {
const MachineFrameInfo *MFI = MF.getFrameInfo();
MachineBasicBlock::iterator MBBI = prior(MBB.end());
- assert((MBBI->getOpcode() == Alpha::RET)
+ assert(((MBBI->getOpcode() == Alpha::RET) || (MBBI->getOpcode() == Alpha::RETDAG))
&& "Can only insert epilog into returning blocks");
bool FP = hasFP(MF);