Some more assert(false) -> llvm_unreachable.

This commit is contained in:
David Nadlinger
2013-02-08 16:40:55 +01:00
parent d13a997bd0
commit 70dedd14e2
2 changed files with 4 additions and 4 deletions

View File

@@ -1123,7 +1123,7 @@ DValue* CallExp::toElem(IRState* p)
// *q |= mask;
op = llvm::Instruction::Or;
} else {
assert(false);
llvm_unreachable("Unrecognized bitop intrinsic.");
}
LLValue *newVal = p->ir->CreateBinOp(op, val, mask, "bitop.new_val");