mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Describe the LLVMContext API change.
llvm-svn: 74701
This commit is contained in:
parent
2586a96424
commit
82b4e736c7
@ -419,7 +419,7 @@ it run faster:</p>
|
||||
<div class="doc_text">
|
||||
|
||||
<p>If you're already an LLVM user or developer with out-of-tree changes based
|
||||
on LLVM 2.4, this section lists some "gotchas" that you may run into upgrading
|
||||
on LLVM 2.5, this section lists some "gotchas" that you may run into upgrading
|
||||
from the previous release.</p>
|
||||
|
||||
<ul>
|
||||
@ -433,6 +433,13 @@ from the previous release.</p>
|
||||
API changes are:</p>
|
||||
|
||||
<ul>
|
||||
<li>LLVM's global uniquing tables for <tt>Type</tt>s and <tt>Constant</tt>s have
|
||||
been privatized into members of an <tt>LLVMContext</tt>. A number of APIs
|
||||
now take an <tt>LLVMContext</tt> as a parameter. To smooth the transition
|
||||
for clients that will only ever use a single context, the new
|
||||
<tt>getGlobalContext()</tt> API can be used to access a default global
|
||||
context which can be passed in any and all cases where a context is
|
||||
required.
|
||||
<li>The <tt>getABITypeSize</tt> methods are now called <tt>getAllocSize</tt>.</li>
|
||||
</ul>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user