summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit694285ca6d79141fc147c3841f14fcb199690721 (patch)
treeaaf3762918a63e1205e337d472a48b90a7b03213 /llvm/lib/Bitcode/Writer
parent83c917a627d3d6a6b5543c7530d35c6d3b6aed3d (diff)
downloadbcm5719-llvm-694285ca6d79141fc147c3841f14fcb199690721.tar.gz
bcm5719-llvm-694285ca6d79141fc147c3841f14fcb199690721.zip
revert r78048, it isn't worth using assertingvh here.
llvm-svn: 78119
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index a5c28fcc763..cb181d2810b 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud