aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Metadata.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp
index 422a21545a..92e4910e42 100644
--- a/lib/VMCore/Metadata.cpp
+++ b/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.