-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mypyc] Implement additional ircheck checks (#12191)
* Implement more checks in ircheck Check op/register validity and check type coercions for return and assign. * Add checks for call operations, control ops, and literal loads * Add check for duplicate ops In particular, this will catch the case where builder.add() is called twice, which causes very weird bogus IR.
- Loading branch information
Showing
5 changed files
with
360 additions
and
47 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
Oops, something went wrong.