Fix typo.

llvm-svn: 148751
This commit is contained in:
Devang Patel 2012-01-23 23:56:33 +00:00
parent fad744dd50
commit eba7d3dba9
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ X86Operand *X86AsmParser::ParseIntelBracExpression(unsigned SegReg,
} else } else
return ErrorOperand(PlusLoc, "unexpected token after +"); return ErrorOperand(PlusLoc, "unexpected token after +");
} else if (getLexer().is(AsmToken::Identifier)) { } 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(); End = Parser.getTok().getLoc();
if (!IndexReg) if (!IndexReg)
ParseRegister(IndexReg, Start, End); ParseRegister(IndexReg, Start, End);