mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Trivial updates for upstream LLVM changes.
- BitRig is gone - llvm::enumerate's element type now uses methods instead of fields No intended functionality change.
This commit is contained in:
@@ -243,8 +243,8 @@ MemBehavior MemoryBehaviorVisitor::visitApplyInst(ApplyInst *AI) {
|
||||
// We can ignore mayTrap().
|
||||
bool any_in_guaranteed_params = false;
|
||||
for (auto op : enumerate(AI->getArgumentOperands())) {
|
||||
if (op.Value.get() == V &&
|
||||
AI->getSubstCalleeConv().getSILArgumentConvention(op.Index) == swift::SILArgumentConvention::Indirect_In_Guaranteed) {
|
||||
if (op.value().get() == V &&
|
||||
AI->getSubstCalleeConv().getSILArgumentConvention(op.index()) == swift::SILArgumentConvention::Indirect_In_Guaranteed) {
|
||||
any_in_guaranteed_params = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user