[cfe-commits] r95110 - /cfe/trunk/lib/Frontend/Backend.cpp

Chris Lattner sabre at nondot.org
Tue Feb 2 11:14:34 PST 2010


Author: lattner
Date: Tue Feb  2 13:14:34 2010
New Revision: 95110

URL: http://llvm.org/viewvc/llvm-project?rev=95110&view=rev
Log:
update for llvm api change.

Modified:
    cfe/trunk/lib/Frontend/Backend.cpp

Modified: cfe/trunk/lib/Frontend/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/Backend.cpp?rev=95110&r1=95109&r2=95110&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/Backend.cpp (original)
+++ cfe/trunk/lib/Frontend/Backend.cpp Tue Feb  2 13:14:34 2010
@@ -314,12 +314,6 @@
     case FileModel::AsmFile:
       break;
     }
-
-    if (TM->addPassesToEmitFileFinish(*CodeGenPasses, (MachineCodeEmitter *)0,
-                                      OptLevel)) {
-      Diags.Report(diag::err_fe_unable_to_interface_with_target);
-      return false;
-    }
   }
 
   return true;





More information about the cfe-commits mailing list