Changeset 243697 in webkit
- Timestamp:
- Apr 1, 2019 10:27:53 AM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r243688 r243697 1 2019-04-01 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Stop trying to support building JSC with clang 3.8 4 https://bugs.webkit.org/show_bug.cgi?id=195947 5 <rdar://problem/49069219> 6 7 Reviewed by Darin Adler. 8 9 It seems WebKit hasn't built with clang 3.8 in a while, no devs are using this compiler, we 10 don't know how much effort it would be to make JSC work again, and it's making the code 11 worse. Remove my hacks to support clang 3.8 from JSC. 12 13 * bindings/ScriptValue.cpp: 14 (Inspector::jsToInspectorValue): 15 * bytecode/GetterSetterAccessCase.cpp: 16 (JSC::GetterSetterAccessCase::create): 17 (JSC::GetterSetterAccessCase::clone const): 18 * bytecode/InstanceOfAccessCase.cpp: 19 (JSC::InstanceOfAccessCase::clone const): 20 * bytecode/IntrinsicGetterAccessCase.cpp: 21 (JSC::IntrinsicGetterAccessCase::clone const): 22 * bytecode/ModuleNamespaceAccessCase.cpp: 23 (JSC::ModuleNamespaceAccessCase::clone const): 24 * bytecode/ProxyableAccessCase.cpp: 25 (JSC::ProxyableAccessCase::clone const): 26 1 27 2019-03-31 Yusuke Suzuki <ysuzuki@apple.com> 2 28 -
trunk/Source/JavaScriptCore/bindings/ScriptValue.cpp
r243323 r243697 75 75 inspectorArray->pushValue(WTFMove(elementValue)); 76 76 } 77 return RefPtr<JSON::Value> { WTFMove(inspectorArray) };77 return inspectorArray; 78 78 } 79 79 VM& vm = scriptState.vm(); … … 88 88 inspectorObject->setValue(name.string(), WTFMove(inspectorValue)); 89 89 } 90 return RefPtr<JSON::Value> { WTFMove(inspectorObject) };90 return inspectorObject; 91 91 } 92 92 -
trunk/Source/JavaScriptCore/bytecode/GetterSetterAccessCase.cpp
r243323 r243697 67 67 result->m_domAttribute = domAttribute; 68 68 result->m_customAccessor = customGetter ? FunctionPtr<OperationPtrTag>(customGetter) : nullptr; 69 return std::unique_ptr<AccessCase> { WTFMove(result) };69 return result; 70 70 } 71 71 … … 77 77 std::unique_ptr<GetterSetterAccessCase> result(new GetterSetterAccessCase(vm, owner, type, offset, structure, conditionSet, false, nullptr, customSlotBase, WTFMove(prototypeAccessChain))); 78 78 result->m_customAccessor = customSetter ? FunctionPtr<OperationPtrTag>(customSetter) : nullptr; 79 return std::unique_ptr<AccessCase> { WTFMove(result) };79 return result; 80 80 } 81 81 … … 98 98 std::unique_ptr<GetterSetterAccessCase> result(new GetterSetterAccessCase(*this)); 99 99 result->resetState(); 100 return std::unique_ptr<AccessCase> { WTFMove(result) };100 return result; 101 101 } 102 102 -
trunk/Source/JavaScriptCore/bytecode/InstanceOfAccessCase.cpp
r243323 r243697 48 48 std::unique_ptr<InstanceOfAccessCase> result(new InstanceOfAccessCase(*this)); 49 49 result->resetState(); 50 return std::unique_ptr<AccessCase> { WTFMove(result) };50 return result; 51 51 } 52 52 -
trunk/Source/JavaScriptCore/bytecode/IntrinsicGetterAccessCase.cpp
r243323 r243697 52 52 std::unique_ptr<IntrinsicGetterAccessCase> result(new IntrinsicGetterAccessCase(*this)); 53 53 result->resetState(); 54 return std::unique_ptr<AccessCase> { WTFMove(result) };54 return result; 55 55 } 56 56 -
trunk/Source/JavaScriptCore/bytecode/ModuleNamespaceAccessCase.cpp
r243323 r243697 59 59 std::unique_ptr<ModuleNamespaceAccessCase> result(new ModuleNamespaceAccessCase(*this)); 60 60 result->resetState(); 61 return std::unique_ptr<AccessCase> { WTFMove(result) };61 return result; 62 62 } 63 63 -
trunk/Source/JavaScriptCore/bytecode/ProxyableAccessCase.cpp
r243323 r243697 53 53 std::unique_ptr<ProxyableAccessCase> result(new ProxyableAccessCase(*this)); 54 54 result->resetState(); 55 return std::unique_ptr<AccessCase> { WTFMove(result) };55 return result; 56 56 } 57 57 -
trunk/Source/WTF/ChangeLog
r243688 r243697 1 2019-04-01 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Stop trying to support building JSC with clang 3.8 4 https://bugs.webkit.org/show_bug.cgi?id=195947 5 <rdar://problem/49069219> 6 7 Reviewed by Darin Adler. 8 9 It seems WebKit hasn't built with clang 3.8 in a while, no devs are using this compiler, we 10 don't know how much effort it would be to make JSC work again, and it's making the code 11 worse. Remove my hacks to support clang 3.8 from WTF. 12 13 * wtf/MetaAllocator.cpp: 14 (WTF::MetaAllocator::allocate): 15 * wtf/text/StringConcatenate.h: 16 (WTF::tryMakeStringFromAdapters): 17 1 18 2019-03-31 Yusuke Suzuki <ysuzuki@apple.com> 2 19 -
trunk/Source/WTF/wtf/MetaAllocator.cpp
r243216 r243697 195 195 m_tracker->notify(handle.ptr()); 196 196 197 return RefPtr<MetaAllocatorHandle> { WTFMove(handle) };197 return handle; 198 198 } 199 199 -
trunk/Source/WTF/wtf/text/StringConcatenate.h
r243215 r243697 279 279 makeStringAccumulator(buffer, adapter, adapters...); 280 280 281 return String { WTFMove(resultImpl) };281 return resultImpl; 282 282 } 283 283 … … 289 289 makeStringAccumulator(buffer, adapter, adapters...); 290 290 291 return String { WTFMove(resultImpl) };291 return resultImpl; 292 292 } 293 293
Note: See TracChangeset
for help on using the changeset viewer.