Skip to content

Commit 2cbed90

Browse files
committed
SIL: make InitExistentialRefInst and OpenExistentialRefInst a ForwardingInstruction
1 parent 800b9de commit 2cbed90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SwiftCompilerSources/Sources/SIL/Instruction.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,12 +660,12 @@ class TailAddrInst : SingleValueInstruction {
660660
}
661661

662662
final public
663-
class InitExistentialRefInst : SingleValueInstruction, UnaryInstruction {
663+
class InitExistentialRefInst : SingleValueInstruction, UnaryInstruction, ForwardingInstruction {
664664
public var instance: Value { operand.value }
665665
}
666666

667667
final public
668-
class OpenExistentialRefInst : SingleValueInstruction, UnaryInstruction {
668+
class OpenExistentialRefInst : SingleValueInstruction, UnaryInstruction, ForwardingInstruction {
669669
public var existential: Value { operand.value }
670670
}
671671

0 commit comments

Comments
 (0)