From 8608cc9473198f5e3db40f2155cb4e0c4260aaab Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 21 Jan 2012 10:42:44 +0000 Subject: [PATCH] Remove unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148635 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/AsmParser/X86AsmParser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 384db291f57..a47e24a7c23 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. -- 2.34.1