⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 157955 in webkit


Ignore:
Timestamp:
Oct 24, 2013, 2:28:39 PM (13 years ago)
Author:
Lucas Forschler
Message:

Merged r154303. <rdar://problem/15109405>

Location:
branches/safari-537.73-branch/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-537.73-branch/Source/JavaScriptCore/ChangeLog

    r157954 r157955  
     12013-10-24  Lucas Forschler  <lforschler@apple.com>
     2
     3        Merge r154303
     4
     5    2013-08-18  Gavin Barraclough  <barraclough@apple.com>
     6
     7            https://bugs.webkit.org/show_bug.cgi?id=119995
     8            Start removing custom implementations of getOwnPropertyDescriptor
     9
     10            Reviewed by Oliver Hunt.
     11
     12            This can now typically implemented in terms of getOwnPropertySlot.
     13            Add a macro to PropertyDescriptor to define an implementation of GOPD in terms of GOPS.
     14            Switch over most classes in JSC & the WebCore bindings generator to use this.
     15
     16            * API/JSCallbackObjectFunctions.h:
     17            * debugger/DebuggerActivation.cpp:
     18            * runtime/Arguments.cpp:
     19            * runtime/ArrayConstructor.cpp:
     20            * runtime/ArrayPrototype.cpp:
     21            * runtime/BooleanPrototype.cpp:
     22            * runtime/DateConstructor.cpp:
     23            * runtime/DatePrototype.cpp:
     24            * runtime/ErrorPrototype.cpp:
     25            * runtime/JSActivation.cpp:
     26            * runtime/JSArray.cpp:
     27            * runtime/JSArrayBuffer.cpp:
     28            * runtime/JSArrayBufferView.cpp:
     29            * runtime/JSCell.cpp:
     30            * runtime/JSDataView.cpp:
     31            * runtime/JSDataViewPrototype.cpp:
     32            * runtime/JSFunction.cpp:
     33            * runtime/JSGenericTypedArrayViewInlines.h:
     34            * runtime/JSNotAnObject.cpp:
     35            * runtime/JSONObject.cpp:
     36            * runtime/JSObject.cpp:
     37            * runtime/NamePrototype.cpp:
     38            * runtime/NumberConstructor.cpp:
     39            * runtime/NumberPrototype.cpp:
     40            * runtime/ObjectConstructor.cpp:
     41                - Implement getOwnPropertySlot in terms of GET_OWN_PROPERTY_DESCRIPTOR_IMPL.
     42            * runtime/PropertyDescriptor.h:
     43                - Added GET_OWN_PROPERTY_DESCRIPTOR_IMPL macro.
     44            * runtime/PropertySlot.h:
     45            (JSC::PropertySlot::isValue):
     46            (JSC::PropertySlot::isGetter):
     47            (JSC::PropertySlot::isCustom):
     48            (JSC::PropertySlot::isCacheableValue):
     49            (JSC::PropertySlot::isCacheableGetter):
     50            (JSC::PropertySlot::isCacheableCustom):
     51            (JSC::PropertySlot::attributes):
     52            (JSC::PropertySlot::getterSetter):
     53                - Add accessors necessary to convert PropertySlot to descriptor.
     54            * runtime/RegExpConstructor.cpp:
     55            * runtime/RegExpMatchesArray.cpp:
     56            * runtime/RegExpMatchesArray.h:
     57            * runtime/RegExpObject.cpp:
     58            * runtime/RegExpPrototype.cpp:
     59            * runtime/StringConstructor.cpp:
     60            * runtime/StringObject.cpp:
     61                - Implement getOwnPropertySlot in terms of GET_OWN_PROPERTY_DESCRIPTOR_IMPL.
     62
    1632013-10-24  Oliver Hunt  <oliver@apple.com>
    264
  • branches/safari-537.73-branch/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp

    r157954 r157955  
    11071107    switch (info.registerFormat()) {
    11081108    case DataFormatNone: {
     1109        if (info.spillFormat() == DataFormatInteger || info.spillFormat() == DataFormatDouble) {
     1110            terminateSpeculativeExecution(Uncountable, JSValueRegs(), 0);
     1111            return allocate();
     1112        }
    11091113
    11101114        if (edge->hasConstant()) {
Note: See TracChangeset for help on using the changeset viewer.