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
294491
[JSC] Use `sizeof(double)` instead of `sizeof(JSValue)` in memory operation for `ArrayWithDouble`
https://bugs.webkit.org/show_bug.cgi?id=294491
Summary
[JSC] Use `sizeof(double)` instead of `sizeof(JSValue)` in memory operation f...
Sosuke Suzuki
Reported
2025-06-13 20:54:29 PDT
This patch changes memory operations for `ArrayWithDouble` to use `sizeof(double)` instead of `sizeof(JSValue)`. Since `double` and `JSValue` have the same size, this change does not affect program behavior. This is a refactoring to clarify code's intent.
Attachments
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-06-13 20:55:40 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/46750
EWS
Comment 2
2025-06-15 21:44:12 PDT
Committed
296255@main
(c626511d8b67): <
https://commits.webkit.org/296255@main
> Reviewed commits have been landed. Closing PR #46750 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-06-15 21:45:13 PDT
<
rdar://problem/153502489
>
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