-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
instrument: Clean up generation code (#5090)
-Make more use of InstructionBuilder instruction helper methods -Use MakeUnique<>() rather than new -Add InstrumentPass::GenReadFunctionCall() which optimizes function calls in a loop with constant arguments and no side effects. This is a prepatory change for future work on the instrumentation code which will add more generated functions.
- Loading branch information
1 parent
d8759a1
commit 5890763
Showing
8 changed files
with
247 additions
and
313 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
Oops, something went wrong.