[llvm-commits] [llvm-gcc-4.2] r72745 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Dan Gohman
gohman at apple.com
Tue Jun 2 17:13:54 PDT 2009
Author: djg
Date: Tue Jun 2 19:13:54 2009
New Revision: 72745
URL: http://llvm.org/viewvc/llvm-project?rev=72745&view=rev
Log:
Update for the TargetFolder 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=72745&r1=72744&r2=72745&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue Jun 2 19:13:54 2009
@@ -433,7 +433,7 @@
TheTarget = TME->CtorFn(*TheModule, FeatureStr);
assert(TheTarget->getTargetData()->isBigEndian() == BYTES_BIG_ENDIAN);
- TheFolder = new TargetFolder(*TheTarget->getTargetData());
+ TheFolder = new TargetFolder(TheTarget->getTargetData());
// Install information about target datalayout stuff into the module for
// optimizer use.
More information about the llvm-commits
mailing list