[cfe-commits] r77947 - /cfe/trunk/lib/Frontend/Backend.cpp
Daniel Dunbar
daniel at zuster.org
Sun Aug 2 21:04:28 PDT 2009
Author: ddunbar
Date: Sun Aug 2 23:04:27 2009
New Revision: 77947
URL: http://llvm.org/viewvc/llvm-project?rev=77947&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=77947&r1=77946&r2=77947&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/Backend.cpp (original)
+++ cfe/trunk/lib/Frontend/Backend.cpp Sun Aug 2 23:04:27 2009
@@ -223,7 +223,8 @@
Features.AddFeature(*it);
FeaturesStr = Features.getString();
}
- TargetMachine *TM = TheTarget->createTargetMachine(*TheModule, FeaturesStr);
+ TargetMachine *TM = TheTarget->createTargetMachine(*TheModule, Triple,
+ FeaturesStr);
// Set register scheduler & allocation policy.
RegisterScheduler::setDefault(createDefaultScheduler);
More information about the cfe-commits
mailing list