Remove dead code.
authorDevang Patel <dpatel@apple.com>
Tue, 4 Aug 2009 02:54:15 +0000 (02:54 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 4 Aug 2009 02:54:15 +0000 (02:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78035 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Writer/BitcodeWriter.cpp

index 1e6e9fb331fcaf57ee7ff742d13b854b5e8ebbdd..4b9251639544d4c5312d25294939167ad706b8d4 100644 (file)
@@ -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();