[llvm-commits] [llvm-gcc-4.2] r75214 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Owen Anderson resistor at mac.com
Thu Jul 9 17:50:20 PDT 2009


Author: resistor
Date: Thu Jul  9 19:50:20 2009
New Revision: 75214

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

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Thu Jul  9 19:50:20 2009
@@ -466,7 +466,7 @@
   TheTarget = TME->CtorFn(*TheModule, FeatureStr);
   assert(TheTarget->getTargetData()->isBigEndian() == BYTES_BIG_ENDIAN);
 
-  TheFolder = new TargetFolder(TheTarget->getTargetData(), &getGlobalContext());
+  TheFolder = new TargetFolder(TheTarget->getTargetData(), getGlobalContext());
 
   // Install information about target datalayout stuff into the module for
   // optimizer use.





More information about the llvm-commits mailing list