X86: only access operands if they are present
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 14 Jan 2015 05:37:10 +0000 (05:37 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 14 Jan 2015 05:37:10 +0000 (05:37 +0000)
commite1f65e239a229aac51977a4f7c67317cab4d075a
tree9881df5daac53d425cb54832bcae8ea3e48bcc81
parent497b958447eac80e864e11db0c0933aeb2bd131c
X86: only access operands if they are present

If there is no associated immediate (MS style inline asm), do not try to access
the operand, assume that it is valid.  This should fix the buildbots after SVN
r225941.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225950 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp