@@ -474,6 +474,10 @@ final public class RetainValueInst : RefCountingInst {
474
474
public var value : Value { return operand. value }
475
475
}
476
476
477
+ final public class UnmanagedRetainValueInst : RefCountingInst {
478
+ public var value : Value { return operand. value }
479
+ }
480
+
477
481
final public class RetainValueAddrInst : RefCountingInst {
478
482
}
479
483
@@ -492,6 +496,10 @@ final public class ReleaseValueInst : RefCountingInst {
492
496
public var value : Value { return operand. value }
493
497
}
494
498
499
+ final public class UnmanagedReleaseValueInst : RefCountingInst {
500
+ public var value : Value { return operand. value }
501
+ }
502
+
495
503
final public class DestroyValueInst : Instruction , UnaryInstruction {
496
504
public var destroyedValue : Value { operand. value }
497
505
}
@@ -978,7 +986,13 @@ final public class ProjectBoxInst : SingleValueInstruction, UnaryInstruction {
978
986
public var fieldIndex : Int { bridged. ProjectBoxInst_fieldIndex ( ) }
979
987
}
980
988
981
- final public class CopyValueInst : SingleValueInstruction , UnaryInstruction {
989
+ public protocol CopyingInstruction : SingleValueInstruction , UnaryInstruction { }
990
+
991
+ final public class CopyValueInst : SingleValueInstruction , UnaryInstruction , CopyingInstruction {
992
+ public var fromValue : Value { operand. value }
993
+ }
994
+
995
+ final public class ExplicitCopyValueInst : SingleValueInstruction , UnaryInstruction , CopyingInstruction {
982
996
public var fromValue : Value { operand. value }
983
997
}
984
998
0 commit comments