mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
IR: Remove isa<UniquableMDNode>, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68094bc021
commit
a0ed724a44
@ -1309,7 +1309,7 @@ static void WriteMDNodeBodyInternal(raw_ostream &Out, const MDNode *Node,
|
||||
TypePrinting *TypePrinter,
|
||||
SlotTracker *Machine,
|
||||
const Module *Context) {
|
||||
assert(isa<UniquableMDNode>(Node) && "Expected uniquable MDNode");
|
||||
assert(!Node->isTemporary() && "Unexpected forward declaration");
|
||||
|
||||
auto *Uniquable = cast<UniquableMDNode>(Node);
|
||||
if (Uniquable->isDistinct())
|
||||
|
Loading…
Reference in New Issue
Block a user