[V8] REGRESSION(94783): calling the binding script during V8 context creation slows...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Sep 2011 02:31:00 +0000 (02:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Sep 2011 02:31:00 +0000 (02:31 +0000)
commit991ebf330783b55aabf4d7b66df9a4035f5a954b
treeb9e240ade23dc90dab259a3de686922a96c53dba
parentc492ed3beb0f7aeb851284842dddee02d636a577
[V8] REGRESSION(94783): calling the binding script during V8 context creation slows down page loads
https://bugs.webkit.org/show_bug.cgi?id=68237

Patch by Ulan Degenbaev <ulan@chromium.org> on 2011-09-16
Reviewed by Kenneth Russell.

Call the binding script lazily on the first run of the set() method of
a typed array.

* ../../Source/WebCore/WebCore.gypi:
* ../../Source/WebCore/bindings/v8/V8BindingScripts.cpp: Removed.
* ../../Source/WebCore/bindings/v8/V8BindingScripts.h: Removed.
* ../../Source/WebCore/bindings/v8/V8DOMWindowShell.cpp:
* ../../Source/WebCore/bindings/v8/WorkerContextExecutionProxy.cpp:
* ../../Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp:
* ../../Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h:
* ../../Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustomScript.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/WebCore/WebCore.gypi
Source/WebCore/bindings/v8/V8BindingScripts.cpp [deleted file]
Source/WebCore/bindings/v8/V8BindingScripts.h [deleted file]
Source/WebCore/bindings/v8/V8DOMWindowShell.cpp
Source/WebCore/bindings/v8/WorkerContextExecutionProxy.cpp
Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp
Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h
Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustomScript.js