Bug 31377 - [V8] De-inline boilerplate in every event-listener setter method
Summary: [V8] De-inline boilerplate in every event-listener setter method
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Enhancement
Assignee: Jens Alfke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 14:41 PST by Jens Alfke
Modified: 2009-11-11 14:54 PST (History)
0 users

See Also:


Attachments
patch (5.28 KB, patch)
2009-11-11 14:47 PST, Jens Alfke
dglazkov: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Alfke 2009-11-11 14:41:31 PST
Every generated V8 event-listener setter method contains a bunch of boilerplate code to transfer a "hidden dependency" from the old to the new listener. I've abstracted this out into a helper function in V8Utilities.
Comment 1 Jens Alfke 2009-11-11 14:47:02 PST
Created attachment 43008 [details]
patch
Comment 2 Dimitri Glazkov (Google) 2009-11-11 14:48:17 PST
Comment on attachment 43008 [details]
patch

grand!
Comment 3 Jens Alfke 2009-11-11 14:54:53 PST
Committed revision 50844.