-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Hermes exits when code intentionally unreachable is reached in…
… `BCGen` Summary: This diff should kill a class of bugs we've seen with `llvm_unreachable` sometimes being misused as an assert in production and an input is able to continue execution despite failing a check or hitting a default case in a switch statement. Reviewed By: werew Differential Revision: D43513434 fbshipit-source-id: 574dedf197175e4208eaf0198a615ff491286dac
- Loading branch information
1 parent
6033ec3
commit a0a0365
Showing
4 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters