mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[TableGen] : CodeGenInsrtuction modify to range loop. NFC.
llvm-svn: 315050
This commit is contained in:
parent
5b7bfba453
commit
5f85bd9b7c
@ -128,8 +128,8 @@ CGIOperandList::CGIOperandList(Record *R) : TheDef(R) {
|
||||
|
||||
// Make sure the constraints list for each operand is large enough to hold
|
||||
// constraint info, even if none is present.
|
||||
for (unsigned i = 0, e = OperandList.size(); i != e; ++i)
|
||||
OperandList[i].Constraints.resize(OperandList[i].MINumOperands);
|
||||
for (OperandInfo &OpInfo : OperandList)
|
||||
OpInfo.Constraints.resize(OpInfo.MINumOperands);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user