WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167144
Annotate FastMalloc functions with returns_nonnull attribute.
https://bugs.webkit.org/show_bug.cgi?id=167144
Summary
Annotate FastMalloc functions with returns_nonnull attribute.
Andreas Kling
Reported
2017-01-17 16:18:20 PST
We should put the returns_nonnull LLVM/GCC attribute on fastMalloc() and friends. This tells the compiler that null checking the return value is never necessary.
Attachments
Patch
(2.70 KB, patch)
2017-01-17 16:22 PST
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2017-01-17 16:22:28 PST
Created
attachment 299081
[details]
Patch
WebKit Commit Bot
Comment 2
2017-01-17 17:38:46 PST
Comment on
attachment 299081
[details]
Patch Clearing flags on attachment: 299081 Committed
r210840
: <
http://trac.webkit.org/changeset/210840
>
WebKit Commit Bot
Comment 3
2017-01-17 17:38:51 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug