git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334959
91177308-0d34-0410-b5e6-
96231b3b80d8
OS << "<MCFragment " << (const void *)this << " LayoutOrder:" << LayoutOrder
<< " Offset:" << Offset << " HasInstructions:" << hasInstructions();
- if (const MCEncodedFragment *EF = cast<MCEncodedFragment>(this))
+ if (const MCEncodedFragment *EF = dyn_cast<MCEncodedFragment>(this))
OS << " BundlePadding:" << static_cast<unsigned>(EF->getBundlePadding());
OS << ">";