Bug 110676 - [V8] Generate xxxAttrGetterCallback()
Summary: [V8] Generate xxxAttrGetterCallback()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kentaro Hara
URL:
Keywords:
Depends on:
Blocks: 110667
  Show dependency treegraph
 
Reported: 2013-02-22 18:16 PST by Kentaro Hara
Modified: 2013-02-24 23:14 PST (History)
6 users (show)

See Also:


Attachments
Patch (114.70 KB, patch)
2013-02-22 18:36 PST, Kentaro Hara
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kentaro Hara 2013-02-22 18:16:41 PST
This is one of steps to insert TRACE_EVENT_STATE() macros into DOM bindings. This patch introduces an indirection function for xxxAttrGetter(), like this:

// For non-custom getters
Handle<Value> xxxAttrGetterCallback(...) {
  return xxxAttrGetter(...);
}

// For custom getters.
Handle<Value> xxxAttrGetterCallback(...) {
  return xxxAttrGetterCustom(...);
}
Comment 1 Kentaro Hara 2013-02-22 18:36:05 PST
Created attachment 189892 [details]
Patch
Comment 2 Adam Barth 2013-02-23 09:54:58 PST
Comment on attachment 189892 [details]
Patch

Does this have any impact on microbenchmark performance?
Comment 3 Kentaro Hara 2013-02-23 18:41:05 PST
(In reply to comment #2)
> (From update of attachment 189892 [details])
> Does this have any impact on microbenchmark performance?

I couldn't observe any perf regression in Bindings/first-child.html, so I think it's OK.
Comment 4 WebKit Review Bot 2013-02-23 18:45:08 PST
Comment on attachment 189892 [details]
Patch

Rejecting attachment 189892 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=gce-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 189892, '--port=chromium-xvfb']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue

Last 500 characters of output:
8TestObj.cpp
patching file Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp
Hunk #5 FAILED at 163.
1 out of 6 hunks FAILED -- saving rejects to file Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp.rej
patching file Source/WebCore/bindings/scripts/test/V8/V8TestTypedefs.cpp

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', '--force', '--reviewer', 'Adam Barth']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue

Full output: http://queues.webkit.org/results/16723963
Comment 5 Kentaro Hara 2013-02-23 18:56:42 PST
Committed r143856: <http://trac.webkit.org/changeset/143856>