-
-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[venom]: fix branch eliminator cases in sccp (#4003)
in sccp, when the operand of `jnz`, `djmp` or `assert` is already an `IRLiteral` (this is most easily seen by disabling the IRnode branch eliminator), the compiler will panic. this commit fixes the bug, and refactor some commonly used code into helper functions. --------- Co-authored-by: Harry Kalogirou <[email protected]>
- Loading branch information
1 parent
93147be
commit 35996f1
Showing
2 changed files
with
108 additions
and
18 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