-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the loop heads of loops immediately following a procedure entry were not marked as loop locations. This change fixes this, by pulling the code out of the method getLocNodeForLabel into the caller method processLabel, where it is also executed in case the mCurrent is already a location (and not a statement). getLocNodeForLabel is also called from processGotoStatement, but it should be enough to mark the node as loop location once (when the label is processed) rather than repeat this for every goto statement to this label. The commit also fixes the debug log message.
- Loading branch information
Showing
1 changed file
with
11 additions
and
14 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