mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ownership] bridge_object_to_word is a bitwise escape not an instantaneous use.
This commit is contained in:
@@ -186,7 +186,6 @@ OPERAND_OWNERSHIP(InstantaneousUse, ValueMetatype)
|
||||
OPERAND_OWNERSHIP(InstantaneousUse, IsEscapingClosure)
|
||||
OPERAND_OWNERSHIP(InstantaneousUse, ClassMethod)
|
||||
OPERAND_OWNERSHIP(InstantaneousUse, SuperMethod)
|
||||
OPERAND_OWNERSHIP(InstantaneousUse, BridgeObjectToWord)
|
||||
OPERAND_OWNERSHIP(InstantaneousUse, ClassifyBridgeObject)
|
||||
OPERAND_OWNERSHIP(InstantaneousUse, SetDeallocating)
|
||||
#define ALWAYS_OR_SOMETIMES_LOADABLE_CHECKED_REF_STORAGE(Name, ...) \
|
||||
@@ -229,6 +228,7 @@ OPERAND_OWNERSHIP(BitwiseEscape, UncheckedBitwiseCast)
|
||||
OPERAND_OWNERSHIP(BitwiseEscape, ValueToBridgeObject)
|
||||
OPERAND_OWNERSHIP(BitwiseEscape, RefToRawPointer)
|
||||
OPERAND_OWNERSHIP(BitwiseEscape, UncheckedTrivialBitCast)
|
||||
OPERAND_OWNERSHIP(BitwiseEscape, BridgeObjectToWord)
|
||||
|
||||
// Instructions that end the lifetime of an owned value.
|
||||
OPERAND_OWNERSHIP(DestroyingConsume, AutoreleaseValue)
|
||||
|
||||
Reference in New Issue
Block a user