Skip upcast, NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2015-01-19 22:41:14 +00:00
parent 2a2f94c5f2
commit bc78e70ee0

View File

@ -213,7 +213,7 @@ static Metadata *mapDistinctNode(const UniquableMDNode *Node,
assert(Node->isDistinct() && "Expected distinct node");
// Create the node first so it's available for cyclical references.
MDNode *NewMD = MDNode::replaceWithDistinct(cloneMDNode(Node));
UniquableMDNode *NewMD = MDNode::replaceWithDistinct(cloneMDNode(Node));
mapToMetadata(VM, Node, NewMD);
// Fix the operands.