diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-21 10:42:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-21 10:42:44 +0000 |
commit | 8608cc9473198f5e3db40f2155cb4e0c4260aaab (patch) | |
tree | 6a7cc394521acfcf05260e382625c0e909aa8567 /lib/Target/X86/AsmParser | |
parent | d9ec725db431744be037eaedd29d6575e3cc2754 (diff) | |
download | external_llvm-8608cc9473198f5e3db40f2155cb4e0c4260aaab.zip external_llvm-8608cc9473198f5e3db40f2155cb4e0c4260aaab.tar.gz external_llvm-8608cc9473198f5e3db40f2155cb4e0c4260aaab.tar.bz2 |
Remove unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmParser')
-rw-r--r-- | lib/Target/X86/AsmParser/X86AsmParser.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 384db29..a47e24a 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -595,7 +595,6 @@ static unsigned getIntelMemOperandSize(StringRef OpStr) { X86Operand *X86AsmParser::ParseIntelBracExpression(unsigned Size) { unsigned SegReg = 0, BaseReg = 0, IndexReg = 0, Scale = 1; - const AsmToken &Tok = Parser.getTok(); SMLoc Start = Parser.getTok().getLoc(), End; const MCExpr *Disp = MCConstantExpr::Create(0, getParser().getContext()); @@ -687,7 +686,6 @@ X86Operand *X86AsmParser::ParseIntelMemOperand() { } X86Operand *X86AsmParser::ParseIntelOperand() { - StringRef TokenString = Parser.getTok().getString(); SMLoc Start = Parser.getTok().getLoc(), End; // immediate. |