mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename getFieldNo() to getFieldIndex().
Do I really need to justify this?
This commit is contained in:
@@ -136,7 +136,7 @@ IsZeroKind swift::isZeroValue(SILValue Value) {
|
||||
if (auto *T = dyn_cast<TupleExtractInst>(Value)) {
|
||||
// Make sure we are extracting the number value and not
|
||||
// the overflow flag.
|
||||
if (T->getFieldNo() != 0)
|
||||
if (T->getFieldIndex() != 0)
|
||||
return IsZeroKind::Unknown;
|
||||
|
||||
auto *BI = dyn_cast<BuiltinInst>(T->getOperand());
|
||||
|
||||
Reference in New Issue
Block a user