Skip to content

Commit 6d7252d

Browse files
cmpwidavidchisnall
authored andcommitted
Add inline keyword to always inline routine loadWeakPointer()
1 parent b90653e commit 6d7252d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arc.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ void deallocate(T* p, std::size_t)
737737
* exists.
738738
*/
739739
__attribute__((always_inline))
740-
static BOOL loadWeakPointer(id *addr, id *obj, WeakRef **ref)
740+
static inline BOOL loadWeakPointer(id *addr, id *obj, WeakRef **ref)
741741
{
742742
id oldObj = *addr;
743743
if (oldObj == nil)

0 commit comments

Comments
 (0)