mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use @inout result convention for mutate accessors
This commit is contained in:
@@ -5303,7 +5303,8 @@ void ResultPlanner::execute(SmallVectorImpl<SILValue> &innerDirectResultStack,
|
||||
return SGF.emitManagedCopy(Loc, resultValue, resultTL);
|
||||
case ResultConvention::GuaranteedAddress:
|
||||
case ResultConvention::Guaranteed:
|
||||
llvm_unreachable("borrow accessor not yet implemented");
|
||||
case ResultConvention::Inout:
|
||||
llvm_unreachable("borrow/mutate accessor is not yet implemented");
|
||||
}
|
||||
llvm_unreachable("bad result convention!");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user