Skip to content

Commit c624ed7

Browse files
committed
rustc: Uncomment LLVMAddStandardPasses, now that we have a native glue that supports 8 arguments.
1 parent d39ca85 commit c624ed7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/comp/lib/llvm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,14 +803,14 @@ native mod llvm = llvm_lib {
803803
fn LLVMAddBasicAliasAnalysisPass(PassManagerRef PM);
804804

805805
// FIXME: Native stubs don't allow this many arguments yet.
806-
/*fn LLVMAddStandardModulePasses(PassManagerRef PM,
806+
fn LLVMAddStandardModulePasses(PassManagerRef PM,
807807
uint OptimizationLevel,
808808
Bool OptimizeSize,
809809
Bool UnitAtATime,
810810
Bool UnrollLoops,
811811
Bool SimplifyLibCalls,
812812
Bool HaveExceptions,
813-
uint InliningThreshold);*/
813+
uint InliningThreshold);
814814

815815
/** Destroys a memory buffer. */
816816
fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf);

0 commit comments

Comments
 (0)