[Webkit-unassigned] [Bug 78513] If memset gets inlined at WebKit/Source/JavaScriptCore/wtf/Vector.h, it may produce a warning

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 20:26:55 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=78513


asharif.tools at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #126836|0                           |1
        is obsolete|                            |
 Attachment #126899|                            |review?, commit-queue?
               Flag|                            |




--- Comment #4 from asharif.tools at gmail.com  2012-02-13 20:26:55 PST ---
Created an attachment (id=126899)
 --> (https://bugs.webkit.org/attachment.cgi?id=126899&action=review)
Should not have any runtime overhead with this patch at -O2.

This patch is now checking if dstEnd - dst is a constant before doing the 0 check. If dstEnd - dst is not a constant, the first part of the if condition is true and the whole if condition should be folded away.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list