[poolalloc] r223313 - Update DSNodeEquivs, SmallPtrSet::insert now returns a pair.
Will Dietz
wdietz2 at illinois.edu
Wed Dec 3 15:28:41 PST 2014
Author: wdietz2
Date: Wed Dec 3 17:28:41 2014
New Revision: 223313
URL: http://llvm.org/viewvc/llvm-project?rev=223313&view=rev
Log:
Update DSNodeEquivs, SmallPtrSet::insert now returns a pair.
Modified:
poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp
Modified: poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp?rev=223313&r1=223312&r2=223313&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp Wed Dec 3 17:28:41 2014
@@ -252,7 +252,7 @@ const DSNode *DSNodeEquivs::getMemberFor
const User *TheUser = WL.front();
WL.pop_front();
- if (!Visited.insert(TheUser))
+ if (!Visited.insert(TheUser).second)
continue;
//
More information about the llvm-commits
mailing list