Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not confuse fgDispBasicBlocks in fgMorphBlocks (#50703)
The logic in "fgDispBasicBlocks" has a check for promoted implicit by-refs that only allows them during global morph via an 'assert(fgGlobalMorph)'. However, "fgMorphBlocks" was calling "fgDispBasicBlocks" after having set "fgGlobalMorph" to "false", leading it to falsely believe it was not actually being called during global morph and asserting with a message like "assertion failed 'fgGlobalMorph' - during 'Morph - Global'". Fix this by setting "fgGlobalMorph" to "false" at the very end of "fgMorphBlocks".
- Loading branch information