提交 c624ed72 编写于 作者: P Patrick Walton

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

上级 d39ca857
......@@ -803,14 +803,14 @@ fn LLVMBuildPtrDiff(BuilderRef B, ValueRef LHS,
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册