Document that Pass(char*) got replaced with Pass(char&).

This means that code wanting to be compatible needs to use ifdefs :(



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_28@114950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Torok Edwin 2010-09-28 13:47:20 +00:00
parent f928fd96fb
commit b72f73f13a

View File

@ -322,6 +322,11 @@ expose new optimization opportunities:</p>
these routines tend to perform costly dereference operations more than once. You
have to dereference the iterators yourself and pass them in.
</li>
<li>
The <tt>Pass(intptr_t)</tt> and <tt>Pass(const void*)</tt> got replaced with a
<tt>Pass(char&amp;)</tt> constructor. This means you have to use ifdefs if you
want your pass to work with both LLVM 2.7 and 2.8
</li>
<li>
llvm.memcpy.*, llvm.memset.*, llvm.memmove.* (and possibly other?) intrinsics
take an extra parameter now (i1 isVolatile), totaling 5 parameters.
@ -359,7 +364,7 @@ expose new optimization opportunities:</p>
<li>llvm_install_error_handler -&gt; install_fatal_error_handler</li>
<li>llvm::DwarfExceptionHandling -&gt; llvm::JITExceptionHandling</li>
</ul>
</li>
</li>
</ul>
</div>