Bug 42392 - [Qt] Replace qMemCopy() usage with memcpy()
Summary: [Qt] Replace qMemCopy() usage with memcpy()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Enhancement
Assignee: QtWebKit Unassigned
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-07-15 12:10 PDT by Robin Burchell
Modified: 2010-07-19 08:06 PDT (History)
2 users (show)

See Also:


Attachments
patch replacing qMemCopy -> memcpy (1.16 KB, patch)
2010-07-15 12:10 PDT, Robin Burchell
no flags Details | Formatted Diff | Diff
Same as v1, with ChangeLog entry. (1.32 KB, patch)
2010-07-16 06:15 PDT, Robin Burchell
tonikitoo: review+
tonikitoo: commit-queue-
Details | Formatted Diff | Diff
v3, with added details (again) in ChangeLog (1.55 KB, patch)
2010-07-19 07:20 PDT, Robin Burchell
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Burchell 2010-07-15 12:10:57 PDT
Created attachment 61700 [details]
patch replacing qMemCopy -> memcpy

Usage of memcpy() directly allows compilers to optimise more.

qMemCopy() exists to allow usage in headers.

See related Qt merge request at: http://qt.gitorious.org/qt/qt/merge_requests/2430

Patch attach.
Comment 1 Andreas Kling 2010-07-16 03:19:04 PDT
Hi Robin!
Your patch needs a ChangeLog entry, see this page for more information:
https://trac.webkit.org/wiki/QtWebKitContrib
Comment 2 Robin Burchell 2010-07-16 06:15:33 PDT
Created attachment 61797 [details]
Same as v1, with ChangeLog entry.

Fixed. Sorry about that. ;)
Comment 3 Andreas Kling 2010-07-16 06:26:45 PDT
Comment on attachment 61797 [details]
Same as v1, with ChangeLog entry.

>WebCore/ChangeLog:7
> +  
Missing a description of this change and why it's needed. :)
Comment 4 Antonio Gomes 2010-07-16 06:28:27 PDT
Comment on attachment 61797 [details]
Same as v1, with ChangeLog entry.


> +2010-07-16  Robin Burchell  <robin.burchell@collabora.co.uk>
> +
> +        Reviewed by NOBODY (OOPS!).
> +
> +        [Qt] Use memcpy() instead of qMemCopy()
> +        See: https://bugs.webkit.org/show_bug.cgi?id=42392

Robin, please explain in the change log why changing it make sense.

When uploading a new patch, please fill "Reviewed by" with "Antonio Gomes" and you wont need to get it re-reviewed. Just set "cq?"
Comment 5 Robin Burchell 2010-07-19 07:20:42 PDT
Created attachment 61946 [details]
v3, with added details (again) in ChangeLog

Fixed ChangeLog info.
Comment 6 WebKit Commit Bot 2010-07-19 08:06:04 PDT
Comment on attachment 61946 [details]
v3, with added details (again) in ChangeLog

Clearing flags on attachment: 61946

Committed r63660: <http://trac.webkit.org/changeset/63660>
Comment 7 WebKit Commit Bot 2010-07-19 08:06:09 PDT
All reviewed patches have been landed.  Closing bug.