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);
// 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);