Ignore:
Timestamp:
Nov 5, 2011, 1:29:01 PM (14 years ago)
Author:
[email protected]
Message:

Reduce the number of putWithAttributes
https://bugs.webkit.org/show_bug.cgi?id=71597

Reviewed by Adam Roben.

Remove exports of removed functions.

  • runtime/JSActivation.cpp:

(JSC::JSActivation::putWithAttributes):
Calling the overload without the extra parameters does the same thing.

  • runtime/JSObject.cpp:

(JSC::JSObject::putWithAttributes):

  • runtime/JSObject.h:

Remove four unused JSObject::putWithAttributes overloads and make one of the remaining
two overloads not virtual, since no one overrides it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSActivation.cpp

    r99126 r99357  
    193193    // expose in the activation object.
    194194    ASSERT(!hasGetterSetterProperties());
    195     PutPropertySlot slot;
    196     JSObject::putWithAttributes(exec, propertyName, value, attributes, true, slot);
     195    JSObject::putWithAttributes(exec, propertyName, value, attributes);
    197196}
    198197
Note: See TracChangeset for help on using the changeset viewer.