Bug 33031 - [V8] Generate configuring of all indexers.
Summary: [V8] Generate configuring of all indexers.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other All
: P2 Normal
Assignee: Dimitri Glazkov (Google)
URL:
Keywords:
Depends on: 32996
Blocks: 32569
  Show dependency treegraph
 
Reported: 2009-12-29 15:45 PST by Dimitri Glazkov (Google)
Modified: 2009-12-30 08:55 PST (History)
0 users

See Also:


Attachments
Generate configuring of all indexers, v1. (13.28 KB, patch)
2009-12-29 15:50 PST, Dimitri Glazkov (Google)
abarth: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri Glazkov (Google) 2009-12-29 15:45:42 PST
It's a bit ugly. The biggest issue is that apparently V8 API completely decouples numeric and non-numeric property lookup, which forces us to have extra indexers. The indexers simply convert index value to string and pass it along to named property handling machinery. It's sad. I'll ask V8 folks what's up with that.

Otherwise, the story is very similar to bug 32996
Comment 1 Dimitri Glazkov (Google) 2009-12-29 15:50:12 PST
Created attachment 45624 [details]
Generate configuring of all indexers, v1.
Comment 2 Adam Barth 2009-12-29 18:51:53 PST
Comment on attachment 45624 [details]
Generate configuring of all indexers, v1.

This patch feels like deja vu.  I didn't quite follow all the machinations here, but the net result looks good.  Hopefully our tests are strong enough to catch screw ups.
Comment 3 Dimitri Glazkov (Google) 2009-12-30 08:55:45 PST
Landed as http://trac.webkit.org/changeset/52663.