WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 259429
Empty switch statements generated by opcode_generator.rb
https://bugs.webkit.org/show_bug.cgi?id=259429
Summary
Empty switch statements generated by opcode_generator.rb
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
Add attachment
proposed patch, testcase, etc.
Ian Grunert
Comment 1
2023-07-23 13:51:39 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16024
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
<
rdar://problem/112806830
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug