diff options
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index d953295803b..eadae79e376 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -45,14 +45,6 @@ extern "C" const char *LLVMRustGetLastError(void) { } extern "C" void LLVMAddBasicAliasAnalysisPass(LLVMPassManagerRef PM); -extern "C" void LLVMAddStandardModulePasses(LLVMPassManagerRef PM, - unsigned int OptimizationLevel, bool OptimizeSize, bool UnitAtATime, - bool UnrollLoops, bool SimplifyLibCalls, - unsigned int InliningThreshold); - -int *RustHackToFetchPassesO = (int*)LLVMAddBasicAliasAnalysisPass; -int *RustHackToFetchPasses2O = (int*)LLVMAddStandardModulePasses; - extern "C" bool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src) { static std::string err; |
