diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-04-16 17:27:40 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-04-16 17:27:40 +0000 |
commit | 7e5d54c320f9f02284187ba0d34faf2e6e1988f6 (patch) | |
tree | 221c5b7d7d64ead2652651b62d7a17cc9aa6f73d /lib/Target/X86 | |
parent | 6b51f75cc58b5a431cfb9e808f27f1fc4432913e (diff) | |
download | external_llvm-7e5d54c320f9f02284187ba0d34faf2e6e1988f6.zip external_llvm-7e5d54c320f9f02284187ba0d34faf2e6e1988f6.tar.gz external_llvm-7e5d54c320f9f02284187ba0d34faf2e6e1988f6.tar.bz2 |
[ms-inline asm] Remove some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/AsmParser/X86AsmParser.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 47a23c3..da8824c 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -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; |