diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-03-30 18:22:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-03-30 18:22:13 +0000 |
| commit | 0f760dfe09fd25006c5d3c795c21332112758a92 (patch) | |
| tree | 8258243691ab670abe99b15596c764f18aff4607 /llvm/lib/Target/Mips/MipsRegisterInfo.cpp | |
| parent | 519a51a76f1dcda9c3eb0e974567925f455f2013 (diff) | |
| download | bcm5719-llvm-0f760dfe09fd25006c5d3c795c21332112758a92.tar.gz bcm5719-llvm-0f760dfe09fd25006c5d3c795c21332112758a92.zip | |
Fix "Control reaches the end of non-void function" warnings,
patch by David Chisnall.
llvm-svn: 48963
Diffstat (limited to 'llvm/lib/Target/Mips/MipsRegisterInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsRegisterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsRegisterInfo.cpp b/llvm/lib/Target/Mips/MipsRegisterInfo.cpp index 4ca5adea036..fd041536a21 100644 --- a/llvm/lib/Target/Mips/MipsRegisterInfo.cpp +++ b/llvm/lib/Target/Mips/MipsRegisterInfo.cpp @@ -81,6 +81,7 @@ getRegisterNumbering(unsigned RegEnum) case Mips::RA : return 31; default: assert(0 && "Unknown register number!"); } + return 0; // Not reached } void MipsRegisterInfo::reMaterialize(MachineBasicBlock &MBB, |

