Bug 83403

Summary: Do not abuse ArrayStorage's m_length for testing array consistency
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: JavaScriptCoreAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ggaren: review+

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>