mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Don't evaluate Data.size() on every iteration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad6eef4a65
commit
ec8ffc29c0
@ -43,7 +43,7 @@ DwarfAccelTable::DwarfAccelTable(DwarfAccelTable::Atom atom) :
|
||||
}
|
||||
|
||||
DwarfAccelTable::~DwarfAccelTable() {
|
||||
for (size_t i = 0 ; i < Data.size(); ++i)
|
||||
for (size_t i = 0, e = Data.size() ; i < e; ++i)
|
||||
delete Data[i];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user