Bug 107306

Summary: Refactor isPowerOf2() and add getLSBSet()
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Michael Saboff
Reported 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.
Attachments
Michael Saboff
Comment 1 2013-01-18 11:16:15 PST
This change is from <rdar://problem/12922052>.
Michael Saboff
Comment 2 2013-01-18 11:18:07 PST
Note You need to log in before you can comment on or make changes to this bug.