Use llvm_unreachable() instead of assert() at where control should never get.

llvm-svn: 194890
This commit is contained in:
Rui Ueyama 2013-11-15 23:36:48 +00:00
parent 6f2a47a9e5
commit 249becb831
1 changed files with 1 additions and 2 deletions

View File

@ -273,8 +273,7 @@ private:
if ( chunks[i].signature == signature ) if ( chunks[i].signature == signature )
return chunks[i]; return chunks[i];
} }
assert(0 && "findChunk() signature not found"); llvm_unreachable("findChunk() signature not found");
static NativeChunk x; return x; // suppress warning
} }
// append atom name to string pool and return offset // append atom name to string pool and return offset