mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[reference-binding] Add mark_unresolved_reference_binding to signal from SILGen to the pass to check.
Just the SIL part of this.
This commit is contained in:
@@ -1330,6 +1330,13 @@ public:
|
||||
MarkMustCheckInst(getSILDebugLocation(loc), src, kind));
|
||||
}
|
||||
|
||||
MarkUnresolvedReferenceBindingInst *createMarkUnresolvedReferenceBindingInst(
|
||||
SILLocation loc, SILValue src,
|
||||
MarkUnresolvedReferenceBindingInst::Kind kind) {
|
||||
return insert(new (getModule()) MarkUnresolvedReferenceBindingInst(
|
||||
getSILDebugLocation(loc), src, kind));
|
||||
}
|
||||
|
||||
CopyableToMoveOnlyWrapperValueInst *
|
||||
createOwnedCopyableToMoveOnlyWrapperValue(SILLocation loc, SILValue src) {
|
||||
return insert(new (getModule()) CopyableToMoveOnlyWrapperValueInst(
|
||||
|
||||
Reference in New Issue
Block a user