Skip to content
  • commit-queue@webkit.org's avatar
    [v8] Improve performance of typed array set() taking Array · 862fa4e0
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=63644
    
    Patch by Ulan Degenbaev <ulan@chromium.org> on 2011-09-08
    Reviewed by Kenneth Russell.
    
    Overwrite the native 'set' method of the type arrays with JS
    implementation after initialization of the global context.
    
    Add tests for invalid and boundary offsets. No performance tests.
    
    * LayoutTests/fast/canvas/webgl/array-unit-tests-expected.txt:
    * LayoutTests/fast/canvas/webgl/array-unit-tests.html:
    * Source/WebCore/WebCore.gyp/WebCore.gyp:
    * Source/WebCore/WebCore.gypi:
    * Source/WebCore/bindings/v8/V8BindingScripts.cpp: Added.
    * Source/WebCore/bindings/v8/V8BindingScripts.h: Added.
    * Source/WebCore/bindings/v8/V8DOMWindowShell.cpp:
    * Source/WebCore/bindings/v8/WorkerContextExecutionProxy.cpp:
    * Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustomScript.js: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    862fa4e0