mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Simplify expression using container's front() rather than begin()->
llvm-svn: 216833
This commit is contained in:
parent
aa3930b088
commit
43eb257590
@ -346,9 +346,7 @@ bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) {
|
||||
|
||||
// We don't create a DIE if we have a single Range and the end label
|
||||
// is null.
|
||||
SmallVectorImpl<InsnRange>::const_iterator RI = Ranges.begin();
|
||||
MCSymbol *End = getLabelAfterInsn(RI->second);
|
||||
return !End;
|
||||
return !getLabelAfterInsn(Ranges.front().second);
|
||||
}
|
||||
|
||||
static void addSectionLabel(AsmPrinter &Asm, DwarfUnit &U, DIE &D,
|
||||
|
Loading…
Reference in New Issue
Block a user