summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2010-11-10 00:08:58 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2010-11-10 00:08:58 +0000
commit55c4cc76ce27d8211a3ea1c708a98509a253d640 (patch)
treeedbbe65e603aaf867f6923ce572e71f02668077d
parentcc78b0b67fc3f49952f2963b4961a1d5b69a60ba (diff)
downloadbcm5719-llvm-55c4cc76ce27d8211a3ea1c708a98509a253d640.tar.gz
bcm5719-llvm-55c4cc76ce27d8211a3ea1c708a98509a253d640.zip
Rename a parameter to avoid confusion with a local variable
llvm-svn: 118656
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index dc5a4170595..65f0ad4bb50 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud