RESOLVED FIXED110726
[V8] Generate xxxAttrSetterCallback()
https://bugs.webkit.org/show_bug.cgi?id=110726
Summary [V8] Generate xxxAttrSetterCallback()
Kentaro Hara
Reported 2013-02-24 23:16:05 PST
This is one of steps to insert TRACE_EVENT_STATE() macros into DOM bindings. This patch introduces an indirection function for xxxAttrSetter(), like this: // For non-custom setters void xxxAttrSetterCallback(...) { xxxAttrSetter(...); } // For custom setters. void xxxAttrSetterCallback(...) { return xxxAttrSetterCustom(...); }
Attachments
Patch (88.41 KB, patch)
2013-02-24 23:49 PST, Kentaro Hara
no flags
Kentaro Hara
Comment 1 2013-02-24 23:49:10 PST
Kentaro Hara
Comment 2 2013-02-24 23:51:25 PST
Comment on attachment 190003 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=190003&action=review > Source/WebCore/bindings/scripts/CodeGeneratorV8.pm:1199 > -sub GenerateNormalAttrSetter > +sub GenerateNormalAttrSetterCallback This diff is confusing, but basically I just factored out ${attrName}AttrSetterCallback() from GenerateNormalAttrSetter().
Kentaro Hara
Comment 3 2013-02-25 13:27:51 PST
Note You need to log in before you can comment on or make changes to this bug.