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

Daniel Dunbar daniel at zuster.org
Mon Aug 3 21:02:57 PDT 2009


Author: ddunbar
Date: Mon Aug  3 23:02:57 2009
New Revision: 78044

URL: http://llvm.org/viewvc/llvm-project?rev=78044&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=78044&r1=78043&r2=78044&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/Backend.cpp (original)
+++ cfe/trunk/lib/Frontend/Backend.cpp Mon Aug  3 23:02:57 2009
@@ -222,8 +222,7 @@
         Features.AddFeature(*it);
       FeaturesStr = Features.getString();
     }
-    TargetMachine *TM = TheTarget->createTargetMachine(*TheModule, Triple, 
-                                                       FeaturesStr);
+    TargetMachine *TM = TheTarget->createTargetMachine(Triple, FeaturesStr);
     
     // Set register scheduler & allocation policy.
     RegisterScheduler::setDefault(createDefaultScheduler);





More information about the cfe-commits mailing list