Resolve this GCC warning:

ARMTargetMachine.cpp:53: error: control reaches end of non-void function

llvm-svn: 114992
This commit is contained in:
Nick Lewycky 2010-09-28 21:40:26 +00:00
parent 81bdc93bbb
commit 7d483d352b
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ static MCStreamer *createMCStreamer(const Target &T, const std::string &TT,
case Triple::MinGW64:
case Triple::Cygwin:
case Triple::Win32:
assert(0 && "ARM does not support Windows COFF format"); break;
llvm_unreachable("ARM does not support Windows COFF format");
return NULL;
default:
return createELFStreamer(Ctx, TAB, _OS, _Emitter, RelaxAll);
}