summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-10-08 23:53:45 +0000
committerEric Christopher <echristo@gmail.com>2012-10-08 23:53:45 +0000
commit286113687a6d4329b91544823dbcb1b562d9b1e7 (patch)
treed4239d00c2bad5915e2460f4469ff85382d5b3c0 /llvm/lib
parentae8ee25d8deb044c4fb1184666eeee821ed7bd6d (diff)
downloadbcm5719-llvm-286113687a6d4329b91544823dbcb1b562d9b1e7.tar.gz
bcm5719-llvm-286113687a6d4329b91544823dbcb1b562d9b1e7.zip
Fix up comment to be more clear.
llvm-svn: 165463
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
index 454a923c13e..05e0f2fb63b 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
@@ -133,8 +133,8 @@ void DwarfAccelTable::EmitHeader(AsmPrinter *Asm) {
}
}
-// Walk through and emit the buckets for the table. This will look
-// like a list of numbers of how many elements are in each bucket.
+// Walk through and emit the buckets for the table. Each index is
+// an offset into the list of hashes.
void DwarfAccelTable::EmitBuckets(AsmPrinter *Asm) {
unsigned index = 0;
for (size_t i = 0, e = Buckets.size(); i < e; ++i) {
OpenPOWER on IntegriCloud