Bug 75757 - JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValueMap::notFound()
Summary: JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValue...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 16:09 PST by Michael Saboff
Modified: 2012-01-06 16:28 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 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>