Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3074b662e45b91738510c07e6f1d9105184893ad
      
https://github.com/WebKit/WebKit/commit/3074b662e45b91738510c07e6f1d9105184893ad
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to