diff options
| author | Patrick Walton <[email protected]> | 2011-05-06 14:22:17 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-06 14:22:17 -0700 |
| commit | c624ed72b12bd17a14328c9cbf319c85f2caa384 (patch) | |
| tree | 2e56364ab2fe25f3378cd5269cd638f68596c78c /src/comp | |
| parent | Remove a few more superfluous 'mutable' keywords (diff) | |
| download | rust-c624ed72b12bd17a14328c9cbf319c85f2caa384.tar.xz rust-c624ed72b12bd17a14328c9cbf319c85f2caa384.zip | |
rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that supports 8 arguments.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/lib/llvm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs index 2c0ac2fc..3d8e577c 100644 --- a/src/comp/lib/llvm.rs +++ b/src/comp/lib/llvm.rs @@ -803,14 +803,14 @@ native mod llvm = llvm_lib { fn LLVMAddBasicAliasAnalysisPass(PassManagerRef PM); // FIXME: Native stubs don't allow this many arguments yet. - /*fn LLVMAddStandardModulePasses(PassManagerRef PM, + fn LLVMAddStandardModulePasses(PassManagerRef PM, uint OptimizationLevel, Bool OptimizeSize, Bool UnitAtATime, Bool UnrollLoops, Bool SimplifyLibCalls, Bool HaveExceptions, - uint InliningThreshold);*/ + uint InliningThreshold); /** Destroys a memory buffer. */ fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf); |