Ignore:
Timestamp:
Jan 12, 2012, 3:51:44 PM (13 years ago)
Author:
[email protected]
Message:

https://bugs.webkit.org/show_bug.cgi?id=76141
defineSetter/defineGetter may fail to update Accessor attribute

Reviewed by Oliver Hunt.

  • runtime/JSObject.cpp:

(JSC::JSObject::defineGetter):
(JSC::JSObject::initializeGetterSetterProperty):
(JSC::JSObject::defineSetter):

  • runtime/Structure.cpp:

(JSC::Structure::attributeChangeTransition):

  • runtime/Structure.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/Structure.h

    r103243 r104871  
    9090        static Structure* changePrototypeTransition(JSGlobalData&, Structure*, JSValue prototype);
    9191        static Structure* despecifyFunctionTransition(JSGlobalData&, Structure*, const Identifier&);
    92         static Structure* getterSetterTransition(JSGlobalData&, Structure*);
     92        static Structure* attributeChangeTransition(JSGlobalData&, Structure*, const Identifier& propertyName, unsigned attributes);
    9393        static Structure* toCacheableDictionaryTransition(JSGlobalData&, Structure*);
    9494        static Structure* toUncacheableDictionaryTransition(JSGlobalData&, Structure*);
Note: See TracChangeset for help on using the changeset viewer.