@@ -262,8 +262,8 @@ extension UnsafePointer where Pointee: ~Copyable {
262262 /// This pointer must be a pointer to the start of a previously allocated
263263 /// memory block. The memory must not be initialized or `Pointee` must be a
264264 /// trivial type.
265+ @inlinable
265266 @_preInverseGenerics
266- @_transparent
267267 public func deallocate( ) {
268268 // Passing zero alignment to the runtime forces "aligned
269269 // deallocation". Since allocation via `UnsafeMutable[Raw][Buffer]Pointer`
@@ -777,8 +777,8 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
777777 ///
778778 /// - Parameter count: The amount of memory to allocate, counted in instances
779779 /// of `Pointee`.
780+ @inlinable
780781 @_preInverseGenerics
781- @_transparent
782782 public static func allocate(
783783 capacity count: Int
784784 ) -> UnsafeMutablePointer < Pointee > {
@@ -810,8 +810,8 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
810810 /// This pointer must be a pointer to the start of a previously allocated
811811 /// memory block. The memory must not be initialized or `Pointee` must be a
812812 /// trivial type.
813+ @inlinable
813814 @_preInverseGenerics
814- @_transparent
815815 public func deallocate( ) {
816816 // Passing zero alignment to the runtime forces "aligned
817817 // deallocation". Since allocation via `UnsafeMutable[Raw][Buffer]Pointer`
@@ -898,7 +898,6 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
898898 /// - Parameters:
899899 /// - value: The instance to initialize this pointer's pointee to.
900900 @_alwaysEmitIntoClient
901- @_transparent
902901 public func initialize( to value: consuming Pointee ) {
903902 Builtin . initialize ( value, self . _rawValue)
904903 }
@@ -929,8 +928,8 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
929928 /// `move()`, the memory is uninitialized.
930929 ///
931930 /// - Returns: The instance referenced by this pointer.
931+ @inlinable
932932 @_preInverseGenerics
933- @_transparent
934933 public func move( ) -> Pointee {
935934 return Builtin . take ( _rawValue)
936935 }
@@ -1163,9 +1162,9 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
11631162 /// not be negative.
11641163 /// - Returns: A raw pointer to the same address as this pointer. The memory
11651164 /// referenced by the returned raw pointer is still bound to `Pointee`.
1166- @discardableResult
1165+ @inlinable
11671166 @_preInverseGenerics
1168- @_transparent
1167+ @discardableResult
11691168 public func deinitialize( count: Int ) -> UnsafeMutableRawPointer {
11701169 _debugPrecondition ( count >= 0 , " UnsafeMutablePointer.deinitialize with negative count " )
11711170 // Note: When count is statically known to be 1 the compiler will optimize
0 commit comments