From c624ed72b12bd17a14328c9cbf319c85f2caa384 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 6 May 2011 14:22:17 -0700 Subject: rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that supports 8 arguments. --- src/comp/lib/llvm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3