[llvm-commits] [llvm-gcc-4.2] r134838 - /llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp

Chris Lattner sabre at nondot.org
Sat Jul 9 11:24:41 PDT 2011


Author: lattner
Date: Sat Jul  9 13:24:41 2011
New Revision: 134838

URL: http://llvm.org/viewvc/llvm-project?rev=134838&view=rev
Log:
update this for mainline api change.

Modified:
    llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp

Modified: llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp?rev=134838&r1=134837&r2=134838&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp Sat Jul  9 13:24:41 2011
@@ -2525,7 +2525,7 @@
 {
   for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
        I != E; ++I) {
-    const Type *STy = I->get();
+    const Type *STy = *I;
     if (const VectorType *VTy = dyn_cast<VectorType>(STy)) {
       switch (VTy->getBitWidth())
       {





More information about the llvm-commits mailing list