mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Shorten DotDebugLocEntry to just DebugLocEntry and reformat.
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -283,15 +283,15 @@ void DIEHash::hashBlockData(const SmallVectorImpl<DIEValue *> &Values) {
|
||||
|
||||
// Hash the contents of a loclistptr class.
|
||||
void DIEHash::hashLocList(const DIELocList &LocList) {
|
||||
SmallVectorImpl<DotDebugLocEntry>::const_iterator Start =
|
||||
SmallVectorImpl<DebugLocEntry>::const_iterator Start =
|
||||
AP->getDwarfDebug()->getDebugLocEntries().begin();
|
||||
Start += LocList.getValue();
|
||||
HashingByteStreamer Streamer(*this);
|
||||
for (SmallVectorImpl<DotDebugLocEntry>::const_iterator
|
||||
for (SmallVectorImpl<DebugLocEntry>::const_iterator
|
||||
I = Start,
|
||||
E = AP->getDwarfDebug()->getDebugLocEntries().end();
|
||||
I != E; ++I) {
|
||||
const DotDebugLocEntry &Entry = *I;
|
||||
const DebugLocEntry &Entry = *I;
|
||||
// Go through the entries until we hit the end of the list,
|
||||
// which is the next empty entry.
|
||||
if (Entry.isEmpty())
|
||||
|
Reference in New Issue
Block a user