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)
commitaa32297fb85ddd9719e7729a3e76311536ffaf75
tree190d2345b77bdcb5ef5639b6115d5b37e0a5ba1f
parent8923cc5470a1a6c728c800a409d1c6c86d52825a
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.

llvm-svn: 225950
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp