Bug 111810 - [V8] meta: Auto-generate indexed properties and named properties
Summary: [V8] meta: Auto-generate indexed properties and named properties
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: foo
URL:
Keywords:
Depends on: 110852 111409 111699
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-07 19:45 PST by Kentaro Hara
Modified: 2014-12-16 00:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kentaro Hara 2013-03-07 19:45:30 PST
Currently indexed property getters/setters and named property getters/setters are written manually in custom bindings and V8Collection.h. In addition, GenerateImplementationNamedPropertyGetter() in CodeGeneratorV8.pm is full of hacks. We should auto-generate them in a consistent manner.

Our future world should be simple:

[IndexedGetter] => indexed property getter is auto-generated
[IndexedSetter] => indexed property setter is auto-generated
[NamedGetter] => named property getter is auto-generated
[NamedSetter] => named property setter is auto-generated
[CustomIndexedGetter] => indexed property getter is written in custom binding
[CustomIndexedSetter] => indexed property setter is written in custom binding
[CustomNamedGetter] => named property getter is written in custom binding
[CustomNamedSetter] => named property setter is written in custom binding
Comment 1 Brian Burg 2014-12-16 00:47:53 PST
Closing some V8-related work items.