mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 01:06:46 +00:00
Fold variable into assert.
Silences an unused variable warning in Release builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a14f1bc634
commit
e4a39516a0
@ -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…
x
Reference in New Issue
Block a user