1
Fork 0

rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that supports 8 arguments.

This commit is contained in:
Patrick Walton 2011-05-06 14:22:17 -07:00
parent d39ca857fc
commit c624ed72b1

View file

@ -803,14 +803,14 @@ native mod llvm = llvm_lib {
fn LLVMAddBasicAliasAnalysisPass(PassManagerRef PM); fn LLVMAddBasicAliasAnalysisPass(PassManagerRef PM);
// FIXME: Native stubs don't allow this many arguments yet. // FIXME: Native stubs don't allow this many arguments yet.
/*fn LLVMAddStandardModulePasses(PassManagerRef PM, fn LLVMAddStandardModulePasses(PassManagerRef PM,
uint OptimizationLevel, uint OptimizationLevel,
Bool OptimizeSize, Bool OptimizeSize,
Bool UnitAtATime, Bool UnitAtATime,
Bool UnrollLoops, Bool UnrollLoops,
Bool SimplifyLibCalls, Bool SimplifyLibCalls,
Bool HaveExceptions, Bool HaveExceptions,
uint InliningThreshold);*/ uint InliningThreshold);
/** Destroys a memory buffer. */ /** Destroys a memory buffer. */
fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf); fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf);