forked from facebook/redex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ResourcesInliningPass::find_transformations
Summary: The combination of nesting / continue statements here is a bit clunky, especially since `continue;` will skip over the `analyze_instruction()` call at the end of the loop body. Change this to a lambda so that return early could be used consistently to tidy it up, and to make sure that `analyze_instruction()` happens. Reviewed By: ssj933 Differential Revision: D64406902 fbshipit-source-id: 320c2b268a4bba234556676daf30cca5a0573824
- Loading branch information
1 parent
767d4d7
commit 9f17ad7
Showing
1 changed file
with
48 additions
and
42 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