aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-08-04 02:54:15 +0000
committerDevang Patel <dpatel@apple.com>2009-08-04 02:54:15 +0000
commit442aa69a2931a724adccbe96603bdeeb3d210d29 (patch)
tree3a0512b1c3dd5922127f33f7b579cce85cb19c2d /lib/Bitcode
parentefe76fea1fb779d2169d8fdc791edf9354bc9bd7 (diff)
downloadexternal_llvm-442aa69a2931a724adccbe96603bdeeb3d210d29.zip
external_llvm-442aa69a2931a724adccbe96603bdeeb3d210d29.tar.gz
external_llvm-442aa69a2931a724adccbe96603bdeeb3d210d29.tar.bz2
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 1e6e9fb..4b92516 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -596,8 +596,6 @@ static void WriteValues(unsigned FirstVal, unsigned LastVal,
}
}
- if (isa<MetadataBase>(V))
- continue;
// If we need to switch types, do so now.
if (V->getType() != LastTy) {
LastTy = V->getType();