Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f35b23c8867e86725fdefb4f88d255c88f3cdccb https://github.com/WebKit/WebKit/commit/f35b23c8867e86725fdefb4f88d255c88f3cdccb Author: Chris Dumez <cdu...@apple.com> Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths: M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp M Source/WTF/wtf/CrossThreadCopier.h M Source/WTF/wtf/Vector.h M Source/WTF/wtf/WeakHashSet.h M Source/WTF/wtf/WeakListHashSet.h Log Message: ----------- Add template parameters to WTF::map() to specify resulting vector inlineCapacity / minCapacity https://bugs.webkit.org/show_bug.cgi?id=262470 Reviewed by Darin Adler. Add template parameters to WTF::map() to specify resulting vector inlineCapacity / minCapacity. This allows us to use WTF::map() in more cases (a few were included in this patch). This is important as we want developers to be able to write efficient code without relying directly on Vector::uncheckedAppend(). * Source/JavaScriptCore/wasm/WasmBBQJIT.cpp: (JSC::Wasm::BBQJIT::emitCCall): * Source/WTF/wtf/CrossThreadCopier.h: * Source/WTF/wtf/Vector.h: (WTF::Mapper::map): (WTF::map): * Source/WTF/wtf/WeakHashSet.h: * Source/WTF/wtf/WeakListHashSet.h: Canonical link: https://commits.webkit.org/268739@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes