Ignore:
Timestamp:
Apr 1, 2019, 10:27:53 AM (6 years ago)
Author:
Michael Catanzaro
Message:

Stop trying to support building JSC with clang 3.8
https://bugs.webkit.org/show_bug.cgi?id=195947
<rdar://problem/49069219>

Reviewed by Darin Adler.

It seems WebKit hasn't built with clang 3.8 in a while, no devs are using this compiler, we
don't know how much effort it would be to make JSC work again, and it's making the code
Source/JavaScriptCore:

worse. Remove my hacks to support clang 3.8 from JSC.

  • bindings/ScriptValue.cpp:

(Inspector::jsToInspectorValue):

  • bytecode/GetterSetterAccessCase.cpp:

(JSC::GetterSetterAccessCase::create):
(JSC::GetterSetterAccessCase::clone const):

  • bytecode/InstanceOfAccessCase.cpp:

(JSC::InstanceOfAccessCase::clone const):

  • bytecode/IntrinsicGetterAccessCase.cpp:

(JSC::IntrinsicGetterAccessCase::clone const):

  • bytecode/ModuleNamespaceAccessCase.cpp:

(JSC::ModuleNamespaceAccessCase::clone const):

  • bytecode/ProxyableAccessCase.cpp:

(JSC::ProxyableAccessCase::clone const):

Source/WTF:

worse. Remove my hacks to support clang 3.8 from WTF.

  • wtf/MetaAllocator.cpp:

(WTF::MetaAllocator::allocate):

  • wtf/text/StringConcatenate.h:

(WTF::tryMakeStringFromAdapters):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bindings/ScriptValue.cpp

    r243323 r243697  
    7575                inspectorArray->pushValue(WTFMove(elementValue));
    7676            }
    77             return RefPtr<JSON::Value> { WTFMove(inspectorArray) };
     77            return inspectorArray;
    7878        }
    7979        VM& vm = scriptState.vm();
     
    8888            inspectorObject->setValue(name.string(), WTFMove(inspectorValue));
    8989        }
    90         return RefPtr<JSON::Value> { WTFMove(inspectorObject) };
     90        return inspectorObject;
    9191    }
    9292
Note: See TracChangeset for help on using the changeset viewer.