File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
SILOptimizer/FunctionSignatureTransforms Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,9 +185,8 @@ FunctionSignatureTransformDescriptor::createOptimizedSILFunctionName() {
185
185
Mangler.setReturnValueOwnedToUnowned ();
186
186
}
187
187
188
- SILModule &M = F->getModule ();
189
188
auto MangledName = Mangler.mangle ();
190
- assert (!M .hasFunction (MangledName));
189
+ assert (!F-> getModule () .hasFunction (MangledName));
191
190
192
191
return MangledName;
193
192
}
Original file line number Diff line number Diff line change @@ -5737,6 +5737,7 @@ Expr *ExprRewriter::coerceCallArguments(
5737
5737
5738
5738
assert ((matchCanFail || !failed) && " Call arguments did not match up?" );
5739
5739
(void )failed;
5740
+ (void )matchCanFail;
5740
5741
5741
5742
// We should either have parentheses or a tuple.
5742
5743
auto *argTuple = dyn_cast<TupleExpr>(arg);
You can’t perform that action at this time.
0 commit comments