Skip to content

Commit f6c7c0d

Browse files
committed
[ownership] bridge_object_to_word is a bitwise escape not an instantaneous use.
1 parent f67c52e commit f6c7c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/IR/OperandOwnership.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ OPERAND_OWNERSHIP(InstantaneousUse, ValueMetatype)
186186
OPERAND_OWNERSHIP(InstantaneousUse, IsEscapingClosure)
187187
OPERAND_OWNERSHIP(InstantaneousUse, ClassMethod)
188188
OPERAND_OWNERSHIP(InstantaneousUse, SuperMethod)
189-
OPERAND_OWNERSHIP(InstantaneousUse, BridgeObjectToWord)
190189
OPERAND_OWNERSHIP(InstantaneousUse, ClassifyBridgeObject)
191190
OPERAND_OWNERSHIP(InstantaneousUse, SetDeallocating)
192191
#define ALWAYS_OR_SOMETIMES_LOADABLE_CHECKED_REF_STORAGE(Name, ...) \
@@ -229,6 +228,7 @@ OPERAND_OWNERSHIP(BitwiseEscape, UncheckedBitwiseCast)
229228
OPERAND_OWNERSHIP(BitwiseEscape, ValueToBridgeObject)
230229
OPERAND_OWNERSHIP(BitwiseEscape, RefToRawPointer)
231230
OPERAND_OWNERSHIP(BitwiseEscape, UncheckedTrivialBitCast)
231+
OPERAND_OWNERSHIP(BitwiseEscape, BridgeObjectToWord)
232232

233233
// Instructions that end the lifetime of an owned value.
234234
OPERAND_OWNERSHIP(DestroyingConsume, AutoreleaseValue)

0 commit comments

Comments
 (0)