• kmccullo's avatar
    Reviewed by Adele. · 8b3a80b0
    kmccullo authored
            Fixes a GC stack overflow crash.
            The change is to move from a linked list implementation of Parameters to a Vector.
            The problem with the linked list is that each one creates it's own stack frame when being destroyed and in extreme cases this caused the stack to overflow. 
    
            * kjs/function.cpp:
            (KJS::Parameter::Parameter):
            (KJS::FunctionImp::addParameter):
            (KJS::FunctionImp::parameterString):
            (KJS::FunctionImp::processParameters):
            (KJS::FunctionImp::lengthGetter):
            (KJS::FunctionImp::getParameterName):
            * kjs/function.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8b3a80b0