Bug 294491
| Summary: | [JSC] Use `sizeof(double)` instead of `sizeof(JSValue)` in memory operation for `ArrayWithDouble` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <sosuke> |
| Component: | JavaScriptCore | Assignee: | Sosuke Suzuki <sosuke> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
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
Pull request: https://github.com/WebKit/WebKit/pull/46750
EWS
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
<rdar://problem/153502489>