summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Metadata.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Metadata.cpp b/llvm/lib/VMCore/Metadata.cpp
index 422a21545ad..92e4910e422 100644
--- a/llvm/lib/VMCore/Metadata.cpp
+++ b/llvm/lib/VMCore/Metadata.cpp
@@ -307,7 +307,6 @@ void MetadataContext::addMD(unsigned MDKind, MDNode *Node, Instruction *Inst) {
// Otherwise add a new entry.
Info.push_back(std::make_pair(MDKind, Node));
- return;
}
/// removeMD - Remove metadata of given kind attached with an instuction.
@@ -324,8 +323,6 @@ void MetadataContext::removeMD(unsigned Kind, Instruction *Inst) {
return;
}
}
-
- return;
}
/// removeAllMetadata - Remove all metadata attached with an instruction.
OpenPOWER on IntegriCloud