Skip to content
  • barraclough@apple.com's avatar
    https://bugs.webkit.org/show_bug.cgi?id=75140 · 535d8bb7
    barraclough@apple.com authored
    Reviewed by Sam Weinig.
    
    Simplify JSArray creation - remove ArgsList/JSValue* create methods
    (this functionality can be implemented in terms of tryCreateUninitialized).
    
    * JavaScriptCore.exp:
    * runtime/ArrayConstructor.cpp:
        - use constructArray/constructEmptyArray instead of calling JSArray::create directly
    (JSC::constructArrayWithSizeQuirk):
    * runtime/JSArray.cpp:
    * runtime/JSArray.h:
        - removed ArgsList/JSValue* create methods
    * runtime/JSGlobalObject.h:
    (JSC::constructEmptyArray):
    (JSC::constructArray):
        - changed to be implemented in terms of JSArray::tryCreateUninitialized
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    535d8bb7