Bug 83403 - Do not abuse ArrayStorage's m_length for testing array consistency
Summary: Do not abuse ArrayStorage's m_length for testing array consistency
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-04-06 15:33 PDT by Benjamin Poulain
Modified: 2012-04-06 18:12 PDT (History)
2 users (show)

See Also:


Attachments
Patch (6.86 KB, patch)
2012-04-06 15:43 PDT, Benjamin Poulain
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2012-04-06 15:33:10 PDT
Do not abuse ArrayStorage's m_length for testing array consistency. Doing so forces the compiler to maintain two counters and increment both.
Comment 1 Benjamin Poulain 2012-04-06 15:34:21 PDT
Related to <rdar://problem/11197244>
Comment 2 Benjamin Poulain 2012-04-06 15:43:14 PDT
Created attachment 136077 [details]
Patch
Comment 3 Geoffrey Garen 2012-04-06 16:09:06 PDT
Comment on attachment 136077 [details]
Patch

r=me
Comment 4 Benjamin Poulain 2012-04-06 18:12:25 PDT
Committed r113530: <http://trac.webkit.org/changeset/113530>