mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[TableGen] Convert VarDef to range_loop. NFC.
llvm-svn: 315321
This commit is contained in:
parent
53fab7b0ac
commit
15e3faa705
@ -1099,8 +1099,8 @@ void PredTransitions::getIntersectingVariants(
|
||||
|
||||
if (AliasRW.HasVariants) {
|
||||
const RecVec VarDefs = AliasRW.TheDef->getValueAsListOfDefs("Variants");
|
||||
for (RecIter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI)
|
||||
Variants.push_back(TransVariant(*RI, AliasRW.Index, AliasProcIdx, 0));
|
||||
for (Record *VD : VarDefs)
|
||||
Variants.push_back(TransVariant(VD, AliasRW.Index, AliasProcIdx, 0));
|
||||
}
|
||||
if (AliasRW.IsSequence) {
|
||||
Variants.push_back(
|
||||
|
Loading…
Reference in New Issue
Block a user