1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

[MemorySSA] Remove redundant walker assignment [NFC].

Subscribers: llvm-commits
llvm-svn: 356189
This commit is contained in:
Alina Sbirlea 2019-03-14 18:45:17 +00:00
parent 969fdee992
commit c7915741b9

View File

@ -1194,9 +1194,7 @@ class MemorySSA::OptimizeUses {
public:
OptimizeUses(MemorySSA *MSSA, MemorySSAWalker *Walker, AliasAnalysis *AA,
DominatorTree *DT)
: MSSA(MSSA), Walker(Walker), AA(AA), DT(DT) {
Walker = MSSA->getWalker();
}
: MSSA(MSSA), Walker(Walker), AA(AA), DT(DT) {}
void optimizeUses();