aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.h b/llvm/lib/Bitcode/Reader/BitcodeReader.h
index 5bbcaf4..6d4e0a2 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.h
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.h
@@ -181,9 +181,9 @@ class BitcodeReader : public GVMaterializer {
DenseMap<Function*, uint64_t> DeferredFunctionInfo;
/// These are basic blocks forward-referenced by block addresses. They are
- /// inserted lazily into functions when they're loaded.
- typedef std::pair<unsigned, BasicBlock *> BasicBlockRefTy;
- DenseMap<Function *, std::vector<BasicBlockRefTy>> BasicBlockFwdRefs;
+ /// inserted lazily into functions when they're loaded. The basic block ID is
+ /// its index into the vector.
+ DenseMap<Function *, std::vector<BasicBlock *>> BasicBlockFwdRefs;
std::deque<Function *> BasicBlockFwdRefQueue;
/// UseRelativeIDs - Indicates that we are using a new encoding for