aboutsummaryrefslogtreecommitdiff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-04-13 13:53:19 -0400
committerRafael Ávila de Espíndola <[email protected]>2011-04-13 13:54:08 -0400
commite7b8db2e633f71da868fac22da5c050dcb922788 (patch)
tree2dec6ad5d4352a8ba4905dc5b66706b7aa7fc544 /src/comp/lib
parentFix busted texi from last night. (diff)
downloadrust-e7b8db2e633f71da868fac22da5c050dcb922788.tar.xz
rust-e7b8db2e633f71da868fac22da5c050dcb922788.zip
Enable alias analysis and the function attributes pass.
The C API extension is already upstream, we can drop the local copy once the bots are updated.
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 430e8cdb..67703205 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -775,6 +775,8 @@ native mod llvm = llvm_lib {
fn LLVMAddSimplifyLibCallsPass(PassManagerRef PM);
fn LLVMAddLoopIdiomPass(PassManagerRef PM);
fn LLVMAddEarlyCSEPass(PassManagerRef PM);
+ fn LLVMAddTypeBasedAliasAnalysisPass(PassManagerRef PM);
+ fn LLVMAddBasicAliasAnalysisPass(PassManagerRef PM);
/** Destroys a memory buffer. */
fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf);