[webkit-changes] [WebKit/WebKit] 3074b6: Drop remaining use of Vector::unsafeAppendWithoutC...
Chris Dumez
noreply at github.com
Mon Jan 15 12:36:49 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3074b662e45b91738510c07e6f1d9105184893ad
https://github.com/WebKit/WebKit/commit/3074b662e45b91738510c07e6f1d9105184893ad
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M Source/JavaScriptCore/wasm/WasmSectionParser.cpp
M Source/WTF/wtf/Vector.h
Log Message:
-----------
Drop remaining use of Vector::unsafeAppendWithoutCapacityCheck() and make API private
https://bugs.webkit.org/show_bug.cgi?id=267554
Reviewed by Darin Adler.
Drop remaining use of Vector::unsafeAppendWithoutCapacityCheck() and make API
private. This tested as performance neutral on the benchmarks we track.
* Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseType):
(JSC::Wasm::SectionParser::parseImport):
(JSC::Wasm::SectionParser::parseFunction):
(JSC::Wasm::SectionParser::parseGlobal):
(JSC::Wasm::SectionParser::parseExport):
(JSC::Wasm::SectionParser::parseElement):
(JSC::Wasm::SectionParser::parseRecursionGroup):
(JSC::Wasm::SectionParser::parseElementSegmentVectorOfExpressions):
(JSC::Wasm::SectionParser::parseElementSegmentVectorOfIndexes):
(JSC::Wasm::SectionParser::parseData):
(JSC::Wasm::SectionParser::parseException):
(JSC::Wasm::SectionParser::parseCustom):
* Source/WTF/wtf/Vector.h:
Canonical link: https://commits.webkit.org/273049@main
More information about the webkit-changes
mailing list