Remove now unused arguments from TargetRegistry::lookupTarget.
[oota-llvm.git] / lib / Target / CBackend / CBackend.cpp
index c014006f54cacc51090315a4fd5e895d804fe058..7a43233cfc26cb403648d77c5ab6937ad2aa6c90 100644 (file)
@@ -3186,11 +3186,7 @@ std::string CWriter::InterpretASMConstraint(InlineAsm::ConstraintInfo& c) {
       Triple = llvm::sys::getHostTriple();
 
     std::string E;
-    const Target *Match =
-      TargetRegistry::lookupTarget(Triple, 
-                                   /*FallbackToHost=*/false,
-                                   /*RequireJIT=*/false,
-                                   E);
+    const Target *Match = TargetRegistry::lookupTarget(Triple, E);
     if (Match) {
       // Per platform Target Machines don't exist, so create it;
       // this must be done only once.