Skip to content
Commit ffd982f7 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[ObjC][ARC] Fix a bug where the inline-asm retain/claim RV marker wasn't

inserted when the original call had a 'returned' argument

The code is testing whether the instruction BBI points to is the call
that is paired up with the retainRV/claimRV call, but it doesn't work
when the call has a 'returned' argument since GetArgRCIdentityRoot looks
through 'returned' arguments.

rdar://72485383
parent af83b74d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment