Skip to content

Commit

Permalink
[ms-inline asm] Remove some dead code.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179607 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chad Rosier committed Apr 16, 2013
1 parent 6b51f75 commit 7e5d54c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/Target/X86/AsmParser/X86AsmParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1191,20 +1191,12 @@ X86Operand *X86AsmParser::ParseIntelBracExpression(unsigned SegReg, SMLoc Start,
return ErrorOperand(BracLoc, "Expected '[' token!");
Parser.Lex(); // Eat '['

unsigned TmpReg = 0;
SMLoc StartInBrac = Tok.getLoc();
// Parse [ Symbol + ImmDisp ] and [ BaseReg + Scale*IndexReg + ImmDisp ]. We
// may have already parsed an immediate displacement before the bracketed
// expression.
bool Done = false;
IntelBracExprStateMachine SM(Parser, ImmDisp);

// If we parsed a register, then the end loc has already been set and
// the identifier has already been lexed. We also need to update the
// state.
if (TmpReg)
SM.onRegister(TmpReg);

while (!Done) {
bool UpdateLocLex = true;

Expand Down

0 comments on commit 7e5d54c

Please sign in to comment.