[llvm-commits] [poolalloc] r45264 - /poolalloc/trunk/lib/DSA/StdLibPass.cpp
John Criswell
criswell at uiuc.edu
Thu Dec 20 11:47:16 PST 2007
Author: criswell
Date: Thu Dec 20 13:47:14 2007
New Revision: 45264
URL: http://llvm.org/viewvc/llvm-project?rev=45264&view=rev
Log:
Updated to use PointerType::getUnqual() to get pointer types.
Modified:
poolalloc/trunk/lib/DSA/StdLibPass.cpp
Modified: poolalloc/trunk/lib/DSA/StdLibPass.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/StdLibPass.cpp?rev=45264&r1=45263&r2=45264&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/StdLibPass.cpp (original)
+++ poolalloc/trunk/lib/DSA/StdLibPass.cpp Thu Dec 20 13:47:14 2007
@@ -121,7 +121,7 @@
// argument node.
DSNodeHandle& EndNH = Graph.getNodeForValue(&*(++(I->arg_begin())));
EndNH.getNode()->clearNodeFlags()->setModifiedMarker();
- EndNH.getNode()->mergeTypeInfo(PointerType::get(Type::Int8Ty),
+ EndNH.getNode()->mergeTypeInfo(PointerType::getUnqual(Type::Int8Ty),
EndNH.getOffset(), false);
DSNodeHandle &Link = EndNH.getLink(0);
Link.mergeWith(Str);
More information about the llvm-commits
mailing list