Bug 107306 - Refactor isPowerOf2() and add getLSBSet()
Summary: Refactor isPowerOf2() and add getLSBSet()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-01-18 11:05 PST by Michael Saboff
Modified: 2013-01-18 11:18 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2013-01-18 11:05:56 PST
In preparation for JavaScript DFG enhancements, we need to refactor isPowerOf2() from runtime/PropertyMapHashTable.h to WTF.  Also add a method to find the lowest set bit in a value to WTF.
Comment 1 Michael Saboff 2013-01-18 11:16:15 PST
This change is from <rdar://problem/12922052>.
Comment 2 Michael Saboff 2013-01-18 11:18:07 PST
Committed r140186: <http://trac.webkit.org/changeset/140186>