Skip to content

Commit bd08d6a

Browse files
committed
SIL: make Operand Equatable
To be able to use `!=` for operands.
1 parent 301ab4e commit bd08d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/SIL/Operand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import SILBridging
1414

1515
/// An operand of an instruction.
16-
public struct Operand : CustomStringConvertible, NoReflectionChildren {
16+
public struct Operand : CustomStringConvertible, NoReflectionChildren, Equatable {
1717
public let bridged: BridgedOperand
1818

1919
public init(bridged: BridgedOperand) {

0 commit comments

Comments
 (0)