projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29bed1c
)
Remove pointless return; at end of function.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 21 Oct 2009 23:27:54 +0000
(23:27 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 21 Oct 2009 23:27:54 +0000
(23:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84794
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Metadata.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Metadata.cpp
b/lib/VMCore/Metadata.cpp
index 422a21545adb3b3852e7198baee8fac5531f1d9f..92e4910e422b50b601b09c9337f3002eb97d1556 100644
(file)
--- 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.