silence warning in release-asserts build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-04-01 22:14:45 +00:00
parent 23e97b05da
commit 5867de1243

View File

@ -4869,8 +4869,6 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) {
case TLSModel::InitialExec: // not implemented
case TLSModel::LocalExec: // not implemented
return LowerToTLSGeneralDynamicModel64(GA, DAG, getPointerTy());
default:
assert (0 && "Unknown TLS model");
}
} else {
switch (model) {
@ -4881,10 +4879,10 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) {
case TLSModel::InitialExec:
case TLSModel::LocalExec:
return LowerToTLSExecModel(GA, DAG, getPointerTy(), model);
default:
assert (0 && "Unknown TLS model");
}
}
assert(0 && "Unreachable");
return SDValue();
}
SDValue