mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] Added unowned_copy_value.
This commit is contained in:
@@ -1407,6 +1407,15 @@ SILCloner<ImplClass>::visitDebugStepInst(DebugStepInst *Inst) {
|
||||
recordClonedInstruction(Inst, getBuilder().createDebugStep(Inst->getLoc()));
|
||||
}
|
||||
|
||||
template <typename ImplClass>
|
||||
void SILCloner<ImplClass>::visitUnownedCopyValueInst(
|
||||
UnownedCopyValueInst *Inst) {
|
||||
getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
|
||||
recordClonedInstruction(
|
||||
Inst, getBuilder().createUnownedCopyValue(
|
||||
getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
|
||||
}
|
||||
|
||||
template <typename ImplClass>
|
||||
void SILCloner<ImplClass>::visitWeakCopyValueInst(WeakCopyValueInst *Inst) {
|
||||
getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
|
||||
|
||||
Reference in New Issue
Block a user