rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that supports 8 arguments.
This commit is contained in:
parent
d39ca857fc
commit
c624ed72b1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue