Bug 273180

Summary: JSC::Wasm::FunctionParser<Context>::parseNestedBlocksEagerly updates m_offset too late
Product: WebKit Reporter: Max Rottenkolber <maximilian>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: keith_miller, mark.lam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Max Rottenkolber
Reported 2024-04-24 05:05:38 PDT
JSC::Wasm::FunctionParser<Context>::parseNestedBlocksEagerly updates m_offset only after calling the addBlock callback. The callee JSC::Wasm::IPIntGenerator::addBlock expects m_offset to point to the end of the instruction to produce correct metatadata for block instructions.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-01 05:06:13 PDT
EWS
Comment 2 2024-05-14 07:31:13 PDT
Committed 278756@main (e23d00d45d69): <https://commits.webkit.org/278756@main> Reviewed commits have been landed. Closing PR #27685 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.