diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2010-11-10 00:08:58 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2010-11-10 00:08:58 +0000 |
commit | cc8d10e1a8a8555fa63f33e36e3c1ed2fb24389d (patch) | |
tree | c13ec4dbd534991d82b5c8d37e4195cf62690409 /lib/Target/ARM/AsmParser/ARMAsmParser.cpp | |
parent | 8e8b18bcfa87ff919f127b1270a6891db1c9021f (diff) |
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
Diffstat (limited to 'lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index dc5a417059..65f0ad4bb5 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<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; } |