[llvm-commits] [llvm] r148635 - /llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Jan 21 02:42:44 PST 2012
Author: d0k
Date: Sat Jan 21 04:42:44 2012
New Revision: 148635
URL: http://llvm.org/viewvc/llvm-project?rev=148635&view=rev
Log:
Remove unused variables.
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=148635&r1=148634&r2=148635&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Sat Jan 21 04:42:44 2012
@@ -595,7 +595,6 @@
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::ParseIntelOperand() {
- StringRef TokenString = Parser.getTok().getString();
SMLoc Start = Parser.getTok().getLoc(), End;
// immediate.
More information about the llvm-commits
mailing list