forked from OSchip/llvm-project
Fold variable into assert.
Silences an unused variable warning in Release builds. llvm-svn: 305488
This commit is contained in:
parent
6eec9e21a5
commit
00a970a84b
|
@ -3582,8 +3582,7 @@ void SelectionDAGBuilder::visitLoad(const LoadInst &I) {
|
|||
}
|
||||
|
||||
void SelectionDAGBuilder::visitStoreToSwiftError(const StoreInst &I) {
|
||||
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
|
||||
assert(TLI.supportSwiftError() &&
|
||||
assert(DAG.getTargetLoweringInfo().supportSwiftError() &&
|
||||
"call visitStoreToSwiftError when backend supports swifterror");
|
||||
|
||||
SmallVector<EVT, 4> ValueVTs;
|
||||
|
|
Loading…
Reference in New Issue