Bug 224579 - [JSC] CodeBlock::m_alternative should be in DFG::CommonData
Summary: [JSC] CodeBlock::m_alternative should be in DFG::CommonData
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-14 15:06 PDT by Yusuke Suzuki
Modified: 2021-04-21 15:07 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2021-04-14 15:06:31 PDT
That's DFG / FTL only data field.
Comment 1 Yusuke Suzuki 2021-04-14 15:22:32 PDT
After that, sizeof(CodeBlock) becomes 256.
I'll also add `static_assert(sizeof(CodeBlock) <= 256, "Keep it small for memory saving");`
Comment 2 Radar WebKit Bug Importer 2021-04-21 15:07:18 PDT
<rdar://problem/76982110>