commit | 6be58c65d4f7408b183e4267cdc82662df5269c6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu May 03 22:18:21 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu May 03 22:18:21 2007 +0000 |
tree | a945eb31028513467135a60232684057e26cc65a | |
parent | 5a800309afeee25bdb7d31230c210989e0a1a24d [diff] [blame] |
fix encoding of BB names in the symtab llvm-svn: 36704
diff --git a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp index fab1d9c..4d3f0fd 100644 --- a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp +++ b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
@@ -180,8 +180,8 @@ isa<InlineAsm>(*OI)) EnumerateValue(*OI); } - ValueMap[BB] = BasicBlocks.size(); BasicBlocks.push_back(BB); + ValueMap[BB] = BasicBlocks.size(); } FirstInstID = Values.size();