-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CoroSplit][DebugInfo][nfc] Use more specialize Map arguments
We use a map of Argument->AllocaInst when mapping Arguments to the AllocaInst created for them. Said map is declared from "Value" and called a "DbgPtrCache". This commit: * replaces Value to the more specialized Argument class, to reflect the intent better (i.e. we are _always_ mapping Arguments). * replaces the name "DbgPtrCache" with the more explicit "ArgToAllocaMap", as it is not clear reading the code what a "DbgPtr" is. Differential Revision: https://reviews.llvm.org/D149748
- Loading branch information
1 parent
5c6be1d
commit 9ef5381
Showing
3 changed files
with
10 additions
and
10 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