Skip to content
  • barraclough@apple.com's avatar
    Remove no-arguments constructor to PropertySlot · d4c07a32
    barraclough@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=119460
    
    Reviewed by Geoff Garen.
    
    This constructor was unsafe if getValue is subsequently called,
    and the property is a getter. Simplest to just remove it.
    
    * runtime/Arguments.cpp:
    (JSC::Arguments::defineOwnProperty):
    * runtime/JSActivation.cpp:
    (JSC::JSActivation::getOwnPropertyDescriptor):
    * runtime/JSFunction.cpp:
    (JSC::JSFunction::getOwnPropertyDescriptor):
    (JSC::JSFunction::getOwnNonIndexPropertyNames):
    (JSC::JSFunction::put):
    (JSC::JSFunction::defineOwnProperty):
    * runtime/JSGlobalObject.cpp:
    (JSC::JSGlobalObject::defineOwnProperty):
    * runtime/JSGlobalObject.h:
    (JSC::JSGlobalObject::hasOwnPropertyForWrite):
    * runtime/JSNameScope.cpp:
    (JSC::JSNameScope::put):
    * runtime/JSONObject.cpp:
    (JSC::Stringifier::Holder::appendNextProperty):
    (JSC::Walker::walk):
    * runtime/JSObject.cpp:
    (JSC::JSObject::hasProperty):
    (JSC::JSObject::hasOwnProperty):
    (JSC::JSObject::reifyStaticFunctionsForDelete):
    * runtime/Lookup.h:
    (JSC::getStaticPropertyDescriptor):
    (JSC::getStaticFunctionDescriptor):
    (JSC::getStaticValueDescriptor):
    * runtime/ObjectConstructor.cpp:
    (JSC::defineProperties):
    * runtime/PropertySlot.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d4c07a32