Skip to content
  • ggaren@apple.com's avatar
    Removed a use of ArgList that baked in the assumption that arguments · f1944922
    ggaren@apple.com authored
    are forward in the regiter file.
    
    Reviewed by Sam Weinig.
    
    * dfg/DFGOperations.cpp:
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION): Use new API.
    
    * runtime/ArgList.cpp:
    (JSC::ArgList::getSlice): No need to provide an arbitrary constructor --
    getSlice can do the right thing by using its rights to private data.
    
    * runtime/ArgList.h: Removed constructor that took a forward-contiguous
    set of arguments.
    
    * runtime/JSArray.cpp:
    (JSC::JSArray::finishCreation):
    * runtime/JSArray.h:
    (JSC::JSArray::create):
    * runtime/JSGlobalObject.h:
    (JSC::constructArray): Added explicit support for creating an array from
    a pre-allocated set of values, so we could stop relying on the ArgList
    API we want to remove.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f1944922