[llvm-commits] [llvm] r57032 - /llvm/trunk/docs/ProgrammersManual.html
Daniel Dunbar
daniel at zuster.org
Fri Oct 3 15:17:29 PDT 2008
Author: ddunbar
Date: Fri Oct 3 17:17:25 2008
New Revision: 57032
URL: http://llvm.org/viewvc/llvm-project?rev=57032&view=rev
Log:
Change PointerType::get -> getUnqual
Modified:
llvm/trunk/docs/ProgrammersManual.html
Modified: llvm/trunk/docs/ProgrammersManual.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.html?rev=57032&r1=57031&r2=57032&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.html (original)
+++ llvm/trunk/docs/ProgrammersManual.html Fri Oct 3 17:17:25 2008
@@ -1956,7 +1956,7 @@
BasicBlock::iterator ii(instToReplace);
ReplaceInstWithValue(instToReplace->getParent()->getInstList(), ii,
- Constant::getNullValue(PointerType::get(Type::Int32Ty)));
+ Constant::getNullValue(PointerType::getUnqual(Type::Int32Ty)));
</pre></div></li>
<li><tt>ReplaceInstWithInst</tt>
@@ -2091,7 +2091,7 @@
// <i>Create the initial outer struct</i>
<a href="#PATypeHolder">PATypeHolder</a> StructTy = OpaqueType::get();
std::vector<const Type*> Elts;
-Elts.push_back(PointerType::get(StructTy));
+Elts.push_back(PointerType::getUnqual(StructTy));
Elts.push_back(Type::Int32Ty);
StructType *NewSTy = StructType::get(Elts);
More information about the llvm-commits
mailing list