[llvm-commits] [llvm-gcc-4.2] r78045 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Daniel Dunbar
daniel at zuster.org
Mon Aug 3 21:04:04 PDT 2009
Author: ddunbar
Date: Mon Aug 3 23:04:04 2009
New Revision: 78045
URL: http://llvm.org/viewvc/llvm-project?rev=78045&view=rev
Log:
Update for LLVM API change
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=78045&r1=78044&r2=78045&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Mon Aug 3 23:04:04 2009
@@ -474,7 +474,7 @@
LLVM_SET_SUBTARGET_FEATURES(Features);
FeatureStr = Features.getString();
#endif
- TheTarget = TME->createTargetMachine(*TheModule, Triple, FeatureStr);
+ TheTarget = TME->createTargetMachine(Triple, FeatureStr);
assert(TheTarget->getTargetData()->isBigEndian() == BYTES_BIG_ENDIAN);
TheFolder = new TargetFolder(TheTarget->getTargetData(), getGlobalContext());
More information about the llvm-commits
mailing list