Bug 75757

Summary: JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValueMap::notFound()
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: Unspecified   

Description Michael Saboff 2012-01-06 16:09:05 PST
In JSArray::pop(), the results of SparseArrayValueMap::find() (a SparseArrayValueMap::iterator) is compared against SparseArrayValueMap::end() (a SparseArrayValueMap::const_iterator).  This fails to compile on some platforms.  It should be compared against SparseArrayValueMap::notFound().
Comment 1 Michael Saboff 2012-01-06 16:28:02 PST
Committed r104355: <http://trac.webkit.org/changeset/104355>