diff options
author | Victor Hernandez <vhernandez@apple.com> | 2010-01-14 01:46:02 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2010-01-14 01:46:02 +0000 |
commit | b816154268a82d2b8d53956d7ba877324601dc7b (patch) | |
tree | cb691c6e5657936a892034f11ef255b58a6bdcd7 /llvm/lib/Bitcode/Writer | |
parent | 8c85e25589637b9a92e60b87435436ea7eb7a018 (diff) | |
download | bcm5719-llvm-b816154268a82d2b8d53956d7ba877324601dc7b.tar.gz bcm5719-llvm-b816154268a82d2b8d53956d7ba877324601dc7b.zip |
Clean up unnecessary return and brackets
llvm-svn: 93401
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r-- | llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp index 37b44b1eecd..ef0a61ee2a1 100644 --- a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp +++ b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp @@ -242,13 +242,11 @@ void ValueEnumerator::EnumerateMetadata(const MetadataBase *MD, bool isGlobal) { MDValues.push_back(std::make_pair(MD, 1U)); MDValueMap[MD] = MDValues.size(); MDValueID = MDValues.size(); - for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) { + for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) if (Value *V = N->getOperand(i)) EnumerateValue(V); else EnumerateType(Type::getVoidTy(MD->getContext())); - } - return; } return; } |