mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +00:00
[TableGen] Rename ListInit::getSize to just 'size' to be more consistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -309,7 +309,7 @@ bool TGParser::ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals){
|
||||
}
|
||||
|
||||
// Process each value.
|
||||
for (int64_t i = 0; i < List->getSize(); ++i) {
|
||||
for (unsigned i = 0; i < List->size(); ++i) {
|
||||
Init *ItemVal = List->resolveListElementReference(*CurRec, nullptr, i);
|
||||
IterVals.push_back(IterRecord(CurLoop.IterVar, ItemVal));
|
||||
if (ProcessForeachDefs(CurRec, Loc, IterVals))
|
||||
|
Reference in New Issue
Block a user