mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
remove dead argument to canUseScalarCheckedCastInstructions.
Swift SVN r27455
This commit is contained in:
@@ -1452,8 +1452,7 @@ emitSerialCastOperand(SILGenFunction &SGF, SILLocation loc,
|
||||
bool requiresAddress = false;
|
||||
for (auto &row : rows) {
|
||||
CanType targetType = getTargetType(row);
|
||||
if (!canUseScalarCheckedCastInstructions(SGF.SGM.M, sourceType,
|
||||
targetType)) {
|
||||
if (!canUseScalarCheckedCastInstructions(sourceType, targetType)) {
|
||||
requiresAddress = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user