Silencing a warning about control flow reaching the end of a non-void function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190304 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman 2013-09-09 13:22:45 +00:00
parent 71537c1783
commit 4220bb24f5

View File

@ -122,6 +122,7 @@ createReplacementInstr(ConstantExpr *CE, Instruction *Instr) {
default:
assert(0 && "Unhandled constant expression!\n");
}
llvm_unreachable("Unhandled constant expression!\n");
}
static bool replaceConstantExprOp(ConstantExpr *CE) {