Bug 259429

Summary: Empty switch statements generated by opcode_generator.rb
Product: WebKit Reporter: Ian Grunert <ian.grunert>
Component: JavaScriptCoreAssignee: 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
Reported 2023-07-23 13:27:58 PDT
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
Ian Grunert
Comment 1 2023-07-23 13:51:39 PDT
EWS
Comment 2 2023-07-24 18:28:28 PDT
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
Comment 3 2023-07-24 18:29:18 PDT
Note You need to log in before you can comment on or make changes to this bug.