diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-04-13 13:53:19 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-04-13 13:54:08 -0400 |
| commit | e7b8db2e633f71da868fac22da5c050dcb922788 (patch) | |
| tree | 2dec6ad5d4352a8ba4905dc5b66706b7aa7fc544 /src/comp/lib/llvm.rs | |
| parent | 6909e7ca7872ef8672e3f044b6648f5b78af64d8 (diff) | |
| download | rust-e7b8db2e633f71da868fac22da5c050dcb922788.tar.gz 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/llvm.rs')
| -rw-r--r-- | src/comp/lib/llvm.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs index 430e8cdb3b8..6770320598a 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); |
