Skip to content

Commit 3a1bdba

Browse files
committed
undo change
1 parent 69d90f2 commit 3a1bdba

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

llvm/lib/IR/AsmWriter.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -649,14 +649,8 @@ void TypePrinting::print(Type *Ty, raw_ostream &OS) {
649649
OS << "target(\"";
650650
printEscapedString(Ty->getTargetExtName(), OS);
651651
OS << "\"";
652-
for (Type *Inner : TETy->type_params()) {
653-
OS << ", ";
654-
if (Inner->isStructTy()) {
655-
StructType *STy = cast<StructType>(Inner);
656-
printStructBody(STy, OS);
657-
} else
658-
OS << *Inner;
659-
}
652+
for (Type *Inner : TETy->type_params())
653+
OS << ", " << *Inner;
660654
for (unsigned IntParam : TETy->int_params())
661655
OS << ", " << IntParam;
662656
OS << ")";

0 commit comments

Comments
 (0)