Skip to content

Commit 26b2309

Browse files
committed
- walk utils
1 parent 42bbe18 commit 26b2309

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SwiftCompilerSources/Sources/SIL/Instruction.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,9 @@ class InitExistentialRefInst : SingleValueInstruction, UnaryInstruction {
460460
}
461461

462462
final public
463-
class OpenExistentialRefInst : SingleValueInstruction, UnaryInstruction {}
463+
class OpenExistentialRefInst : SingleValueInstruction, UnaryInstruction {
464+
public var existential: Value { operand.value }
465+
}
464466

465467
final public
466468
class InitExistentialValueInst : SingleValueInstruction, UnaryInstruction {}

0 commit comments

Comments
 (0)