mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove accidentally left behind debug assertion.
This was intended to track down a bug, not be left in. Sorry.
This commit is contained in:
@@ -409,11 +409,6 @@ ApplyInst *ApplyInst::create(SILDebugLocation Loc, SILValue Callee,
|
||||
ArrayRef<SILValue> Args, bool isNonThrowing,
|
||||
SILFunction &F,
|
||||
SILOpenedArchetypesState &OpenedArchetypes) {
|
||||
if (!F.getModule().Types.getCurGenericContext())
|
||||
assert(Callee->getType().castTo<SILFunctionType>()
|
||||
->substGenericArgs(F.getModule(), Subs)
|
||||
== SubstCalleeTy.getSwiftRValueType());
|
||||
|
||||
SmallVector<SILValue, 32> TypeDependentOperands;
|
||||
collectTypeDependentOperands(TypeDependentOperands, OpenedArchetypes, F,
|
||||
SubstCalleeTy.getSwiftRValueType(), Subs);
|
||||
|
||||
Reference in New Issue
Block a user