Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cfed70b0995468ec5afc297a754339943a352cbd
https://github.com/WebKit/WebKit/commit/cfed70b0995468ec5afc297a754339943a352cbd
Author: Yusuke Suzuki <[email protected]>
Date: 2026-04-12 (Sun, 12 Apr 2026)
Changed paths:
M Source/JavaScriptCore/wasm/WasmParser.h
M Source/WTF/wtf/unicode/UTF8Conversion.cpp
M Source/WTF/wtf/unicode/UTF8Conversion.h
Log Message:
-----------
checkUTF8 should use SIMDUTF
https://bugs.webkit.org/show_bug.cgi?id=312076
rdar://174585782
Reviewed by Sosuke Suzuki.
Use SIMDUTF in checkUTF8. Also adding WTF::Unicode::checkUTF8WithoutUTF16Length,
which only validates UTF-8. We use this in wasm name parsing.
* Source/JavaScriptCore/wasm/WasmParser.h:
(JSC::Wasm::ParserBase::consumeUTF8String):
* Source/WTF/wtf/unicode/UTF8Conversion.cpp:
(WTF::Unicode::checkUTF8WithoutUTF16Length):
(WTF::Unicode::checkUTF8):
* Source/WTF/wtf/unicode/UTF8Conversion.h:
Canonical link: https://commits.webkit.org/311031@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications