diff --git a/lib/Frontend/Backend.cpp b/lib/Frontend/Backend.cpp index 7a7eb988ae..3a4c56beab 100644 --- a/lib/Frontend/Backend.cpp +++ b/lib/Frontend/Backend.cpp @@ -206,8 +206,7 @@ bool BackendConsumer::AddEmitPasses(std::string &Error) { // Create the TargetMachine for generating code. std::string Triple = TheModule->getTargetTriple(); - const llvm::Target *TheTarget = - TargetRegistry::lookupTarget(Triple, false, false, Error); + const llvm::Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); if (!TheTarget) { Error = std::string("Unable to get target machine: ") + Error; return false;