Skip to content

Commit 39ac4a5

Browse files
committed
SIL: make InitExistentialRefInst and OpenExistentialRefInst a ForwardingInstruction
1 parent a6fd1cb commit 39ac4a5

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
@@ -672,12 +672,12 @@ class TailAddrInst : SingleValueInstruction {
672672
}
673673

674674
final public
675-
class InitExistentialRefInst : SingleValueInstruction, UnaryInstruction {
675+
class InitExistentialRefInst : SingleValueInstruction, UnaryInstruction, ForwardingInstruction {
676676
public var instance: Value { operand.value }
677677
}
678678

679679
final public
680-
class OpenExistentialRefInst : SingleValueInstruction, UnaryInstruction {
680+
class OpenExistentialRefInst : SingleValueInstruction, UnaryInstruction, ForwardingInstruction {
681681
public var existential: Value { operand.value }
682682
}
683683

0 commit comments

Comments
 (0)