Bug 259429
Summary: | Empty switch statements generated by opcode_generator.rb | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ian Grunert <ian.grunert> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ian Grunert
AirOpcodeGenerated.h generates warnings when built with MSVC due to switch statements with no case clause (only default). This builds without warnings in clang but generates an extraneous jmp instruction to the next line.
Fix opcode_generator.rb to stop generating these empty switch statements.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ian Grunert
Pull request: https://github.com/WebKit/WebKit/pull/16024
EWS
Committed 266276@main (ca2d701ed884): <https://commits.webkit.org/266276@main>
Reviewed commits have been landed. Closing PR #16024 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/112806830>