DI: Remove unnecessary DICompositeTypeBase
[oota-llvm.git] / lib / IR / DebugInfoMetadata.cpp
index 5e017488c1fb306e3208753766b386906e6dd61f..db6da05cfd87a8c178ba6255653e9892874a3ef4 100644 (file)
@@ -295,8 +295,7 @@ DISubroutineType *DISubroutineType::getImpl(LLVMContext &Context,
                                             StorageType Storage,
                                             bool ShouldCreate) {
   DEFINE_GETIMPL_LOOKUP(DISubroutineType, (Flags, TypeArray));
-  Metadata *Ops[] = {nullptr,   nullptr, nullptr, nullptr,
-                     TypeArray, nullptr, nullptr, nullptr};
+  Metadata *Ops[] = {nullptr, nullptr, nullptr, TypeArray};
   DEFINE_GETIMPL_STORE(DISubroutineType, (Flags), Ops);
 }