diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-04 04:31:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-04 04:31:02 +0000 |
commit | 0a0193edf9152bdc47a49a1a513d6e9cbf723131 (patch) | |
tree | d4520a2b83f9fbac34e293e1962a10c3d4e0e24d /lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 4b3d57228cae1cba0897b80a73fddd4b8a61894a (diff) |
switch ValueMap to using AssertingVH. This is an old patch I had laying
around in a tree I forgot about.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 4b92516395..724e1aeb15 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -1083,7 +1083,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; |