forked from OSchip/llvm-project
Use llvm_unreachable() instead of assert() at where control should never get.
llvm-svn: 194890
This commit is contained in:
parent
6f2a47a9e5
commit
249becb831
|
@ -273,8 +273,7 @@ private:
|
|||
if ( chunks[i].signature == signature )
|
||||
return chunks[i];
|
||||
}
|
||||
assert(0 && "findChunk() signature not found");
|
||||
static NativeChunk x; return x; // suppress warning
|
||||
llvm_unreachable("findChunk() signature not found");
|
||||
}
|
||||
|
||||
// append atom name to string pool and return offset
|
||||
|
|
Loading…
Reference in New Issue