Bug 273180
| Summary: | JSC::Wasm::FunctionParser<Context>::parseNestedBlocksEagerly updates m_offset too late | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Max Rottenkolber <maximilian> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/127354860>
EWS
Committed 278756@main (e23d00d45d69): <https://commits.webkit.org/278756@main>
Reviewed commits have been landed. Closing PR #27685 and removing active labels.