[PATCH] Make global named registers internal variables
Renato Golin
renato.golin at linaro.org
Wed May 21 03:48:36 PDT 2014
On 20 May 2014 18:11, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>> + // Global named register variables (GNU extension) are never emitted.
>> + if (VD->getStorageClass() == SC_Register && !VD->isLocalVarDecl())
>> + return false;
>
> This can be just "VD->getStorageClass() == SC_Register", no?
Hi Rafael,
I was trying to be conservative, but I can change that. If we ever
decide to implement other named register variables, we'll need to
re-visit this properly anyway.
Committed in r209289 with the change.
Thanks!
--renato
More information about the cfe-commits
mailing list