aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-04 23:07:12 +0000
committerChris Lattner <sabre@nondot.org>2009-08-04 23:07:12 +0000
commit4f95d2bda4235d36acd95688d0744d7363214706 (patch)
treeb3acc6fc259e5daa73b96cfc494eae2d5af863bd /lib/Bitcode/Writer
parent00e6df91db433f362ac3410fbbcb8553b8c7ff80 (diff)
downloadexternal_llvm-4f95d2bda4235d36acd95688d0744d7363214706.zip
external_llvm-4f95d2bda4235d36acd95688d0744d7363214706.tar.gz
external_llvm-4f95d2bda4235d36acd95688d0744d7363214706.tar.bz2
revert r78048, it isn't worth using assertingvh here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index a5c28fc..cb181d2 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1088,7 +1088,7 @@ static void WriteValueSymbolTable(const ValueSymbolTable &VST,
// VST_ENTRY: [valueid, namechar x N]
// VST_BBENTRY: [bbid, namechar x N]
unsigned Code;
- if (isa<BasicBlock>(*SI->getValue())) {
+ if (isa<BasicBlock>(SI->getValue())) {
Code = bitc::VST_CODE_BBENTRY;
if (isChar6)
AbbrevToUse = VST_BBENTRY_6_ABBREV;