WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
320150
generateWasmOpsHeader.py makes an error without UTF-8 environments
https://bugs.webkit.org/show_bug.cgi?id=320150
Summary
generateWasmOpsHeader.py makes an error without UTF-8 environments
ryosei.otaka
Reported
2026-07-23 20:08:05 PDT
Source\JavaScriptCore\wasm\generateWasmOpsHeader.py requires UTF-8 encoding, but in a Japanese environment on Windows, CP932 is used by default. Therefore, there are characters that cannot be interpreted, and an error occurs. "—" is not defined on CP932. // CompactPointerTuple packs pointer + uint8 kind bits on ADDRESS64 (one word); // on 32-bit it is a real { pointer, type } pair (same API). // TypeKind is a signed int8_t enum, so the tag is the uint8_t bit pattern. // Bare kinds — pointer null, tag = TypeKind bits // Concrete ref/ref_null — pointer = TypeIndex (RTT* / parse-time tagged ptr), tag = Ref/RefNull // Abstract ref/ref_null — pointer holds TypeIndexTag (1..NumberOfTags-1), tag = Ref/RefNull // Abstract TypeIndex may use EnumTaggingTraits high tags on ADDRESS64 and cannot live in the // pointer half as a full tagged index, so abstract heaps store only TypeIndexTag and rebuild // in index().
Attachments
Add attachment
proposed patch, testcase, etc.
ryosei.otaka
Comment 1
2026-07-23 22:09:56 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/70092
EWS
Comment 2
2026-07-26 19:50:52 PDT
Committed
317960@main
(244cd98f7986): <
https://commits.webkit.org/317960@main
> Reviewed commits have been landed. Closing PR #70092 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-07-26 19:51:11 PDT
<
rdar://problem/183288124
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug