-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add violation for cold entry blocks in hot methods
Summary: Adds violation logging for cold entry blocks in hot methods More formally, we expect that every source block that is the first source block in the entry block of a method must be hot if the method itself is hot. Otherwise it is a violation. Reviewed By: jimmycFB Differential Revision: D63795748 fbshipit-source-id: 28ece858f0189aab17e8c130bc933cdf3966ccea
- Loading branch information
1 parent
d935808
commit 3915a26
Showing
2 changed files
with
77 additions
and
0 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