Fix compile error.
authorManuel Klimek <klimek@google.com>
Thu, 17 May 2012 09:32:05 +0000 (09:32 +0000)
committerManuel Klimek <klimek@google.com>
Thu, 17 May 2012 09:32:05 +0000 (09:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156986 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Function.cpp

index abe7f9455f6a34f1d1bcba674d3a2daca33362d6..60a5113828e8a24a96ebe7f6762d123b91fab689 100644 (file)
@@ -376,7 +376,7 @@ static Type *DecodeFixedType(unsigned &NextElt, ArrayRef<unsigned char> Infos,
   case IIT_F32: return Type::getFloatTy(Context);
   case IIT_F64: return Type::getDoubleTy(Context);
   case IIT_MMX: return Type::getX86_MMXTy(Context);
-  case IIT_METADATA: return Type::Type::getMetadataTy(Context);
+  case IIT_METADATA: return Type::getMetadataTy(Context);
   case IIT_EMPTYSTRUCT: return StructType::get(Context);
   case IIT_V2:
     return VectorType::get(DecodeFixedType(NextElt, Infos, Tys, Context), 2);