Bug 138313 - ATTR_USED incorrectly applying to Clang
Summary: ATTR_USED incorrectly applying to Clang
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 09:01 PST by Dániel Bátyai
Modified: 2014-11-04 06:32 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.08 KB, patch)
2014-11-03 09:02 PST, Dániel Bátyai
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dániel Bátyai 2014-11-03 09:01:51 PST
ATTR_USED was only intended for GCC. Also limit it to ENABLE(FTL_NATIVE_CALL_INLINING)
since that's the only thing it's needed for.
Comment 1 Dániel Bátyai 2014-11-03 09:02:51 PST
Created attachment 240852 [details]
Patch
Comment 2 Csaba Osztrogonác 2014-11-04 05:55:13 PST
Comment on attachment 240852 [details]
Patch

LGTM
Comment 3 WebKit Commit Bot 2014-11-04 06:31:58 PST
Comment on attachment 240852 [details]
Patch

Clearing flags on attachment: 240852

Committed r175544: <http://trac.webkit.org/changeset/175544>
Comment 4 WebKit Commit Bot 2014-11-04 06:32:01 PST
All reviewed patches have been landed.  Closing bug.