-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant parm to avoid incorrect usage
Both `detectInternalCycles` and `catchBlocksHaveRealPredecessors` are intended to detect patterns in the CFG of the receiver method symbol. When calling from `OMR::ResolvedMethodSymbol::genIL` the CFG of the compiling method is passed in rather than the method whose IL is generated which is incorrect. Remove the CFG parm which can be obtained from self()->getFlowGraph() to avoid incorrect use of the API. Signed-off-by: Yi Zhang <[email protected]>
- Loading branch information
Yi Zhang
committed
Jan 7, 2020
1 parent
2cb0f75
commit ff066de
Showing
3 changed files
with
12 additions
and
10 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