diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index d0d3328720d..d78ac9f1c7a 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -656,7 +656,7 @@ X86Operand *X86AsmParser::ParseIntelBracExpression(unsigned SegReg, } else return ErrorOperand(PlusLoc, "unexpected token after +"); } else if (getLexer().is(AsmToken::Identifier)) { - // This could be an index registor or a displacement expression. + // This could be an index register or a displacement expression. End = Parser.getTok().getLoc(); if (!IndexReg) ParseRegister(IndexReg, Start, End);