mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Rename a parameter to avoid confusion with a local variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e8b18bcfa
commit
cc8d10e1a8
@ -326,15 +326,15 @@ public:
|
||||
|
||||
static ARMOperand *
|
||||
CreateRegList(const SmallVectorImpl<std::pair<unsigned, SMLoc> > &Regs,
|
||||
SMLoc S, SMLoc E) {
|
||||
SMLoc StartLoc, SMLoc EndLoc) {
|
||||
ARMOperand *Op = new ARMOperand(RegisterList);
|
||||
Op->RegList.Registers = new SmallVector<unsigned, 32>();
|
||||
for (SmallVectorImpl<std::pair<unsigned, SMLoc> >::const_iterator
|
||||
I = Regs.begin(), E = Regs.end(); I != E; ++I)
|
||||
Op->RegList.Registers->push_back(I->first);
|
||||
std::sort(Op->RegList.Registers->begin(), Op->RegList.Registers->end());
|
||||
Op->StartLoc = S;
|
||||
Op->EndLoc = E;
|
||||
Op->StartLoc = StartLoc;
|
||||
Op->EndLoc = EndLoc;
|
||||
return Op;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user