aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-05-06 14:22:17 -0700
committerPatrick Walton <[email protected]>2011-05-06 14:22:17 -0700
commitc624ed72b12bd17a14328c9cbf319c85f2caa384 (patch)
tree2e56364ab2fe25f3378cd5269cd638f68596c78c /src
parentRemove a few more superfluous 'mutable' keywords (diff)
downloadrust-c624ed72b12bd17a14328c9cbf319c85f2caa384.tar.xz
rust-c624ed72b12bd17a14328c9cbf319c85f2caa384.zip
rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that supports 8 arguments.
Diffstat (limited to 'src')
-rw-r--r--src/comp/lib/llvm.rs4
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);