diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index dc5a4170595..65f0ad4bb50 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -326,15 +326,15 @@ public: static ARMOperand * CreateRegList(const SmallVectorImpl > &Regs, - SMLoc S, SMLoc E) { + SMLoc StartLoc, SMLoc EndLoc) { ARMOperand *Op = new ARMOperand(RegisterList); Op->RegList.Registers = new SmallVector(); for (SmallVectorImpl >::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; }