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

Duncan Sands baldrick at free.fr
Sat May 30 21:09:58 PDT 2009


Author: baldrick
Date: Sat May 30 23:09:57 2009
New Revision: 72657

URL: http://llvm.org/viewvc/llvm-project?rev=72657&view=rev
Log:
Unbreak the clang build by applying the same temporary
workaround for machine code emitter changes as was used
in llvm-gcc.

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=72657&r1=72656&r2=72657&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/Backend.cpp (original)
+++ cfe/trunk/lib/Frontend/Backend.cpp Sat May 30 23:09:57 2009
@@ -250,7 +250,8 @@
       break;
     }
     
-    if (TM->addPassesToEmitFileFinish(*CodeGenPasses, 0, OptLevel)) {
+    if (TM->addPassesToEmitFileFinish(*CodeGenPasses, (MachineCodeEmitter *)0,
+                                      OptLevel)) {
       Error = "Unable to interface with target machine!\n";
       return false;
     }





More information about the cfe-commits mailing list